Array declarations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mvmarkus
    Mivite

    • Mar 2006
    • 306

    #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

    • burch
      Administrator

      • Mar 2009
      • 630

      #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

      • compumate99
        Mivite

        • Jul 2009
        • 139

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

        Comment

        • dcarver
          Director of Software Dev.




          • May 2013
          • 400

          #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