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
@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
Comment