Announcement

Collapse
No announcement yet.

Array declarations

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Array declarations

    @Ray, this is definitely not a bug, but, as Burch said, a circular variable reference. I haven't seen those before in Miva (obviously, this doesn't happen with regular assignments) and was quite amused.

    @Burch: Why would anybody may want to make those circular references on purpose (like you do with the upgrade script)? How do you break out of such a loop without timing out your entire script?

    @Kent: I know, however to make code easier to read I find sometimes the long style really better - especially when you otherwise need to add all those apostrophes and $-signs like in your example. ANyway, so far I never used MvREFERENCEARRAY at all...

    Thanks,

    Markus
    Emerald Media, Trade & Technology USA/Germany
    Professional Miva Programming since 1998
    Home of the Emerald Objects Application Server (EOA)
    Multi-dimensional CRM, CMS & E-Commerce

    http://www.emeraldobjects.com
    http://www.sylter-seiten.com

    Comment


      #17
      Re: Array declarations

      Off the top of my head I can't remember exactly what we use them for in the upgrade code but generally it's for lookup and not something that we would iteratively or recursively traverse.

      Comment


        #18
        Is there something equivalent to <MvREFERENCE> in template language(mvt:)?
        Daniel Kim, Compu-Mate
        Developer

        Comment


          #19
          Originally posted by compumate99 View Post
          Is there something equivalent to <MvREFERENCE> in template language(mvt:)?
          No.
          David Carver
          Miva, Inc. | Software Developer

          Comment

          Working...
          X