> [loop start=1&end=8]> &ordOptID[index]=[aOptions([index],1)]> &ordOptValue[index]=[aOptions([index],2)] > [loop start=1&end=8]> &ordOptID[index]=[aOptions([index],1)]> &ordOptValue[index]=[aOptions([index],2)] DOWNLOAD WEBDNA NOW! The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
> [/loop]
>>> Note that index (3,1) is set to a blank value. If this is set to a> non-blank value, it works fine.>> My workaround for now is to test the value for blank before settingit.>> WebDNA 5.0, OSX>> - brian>> -- Brian Fries, BrainScan Software --> http://www.brainscansoftware.com ---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
Then don't do that ;)That is a bug in the ArraySet code. It has been fixed. This fix will beincluded in the 5.1 patch due out next week.-----Original Message-----From: Brian Fries [mailto:webdna@brainscansoftware.com]Sent: Wednesday, August 27, 2003 10:35 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: Crashing bug setting an array value to blankSMSI: Any response on this bug? I've just been bitten by it again (foolme once...).- brianOn Monday, August 18, 2003, at 03:20 PM, Brian Fries wrote:> When I set an array value to a blank value, it crashes WebDNA or> returns unpredictable garbage from a previously loaded page.>> Example code:>> [arrayset name=aOptions&dim=8,2][/arrayset]>> [arrayset name=aOptions](1,1)=7&(1,2)=19.5[/arrayset]> [arrayset name=aOptions](2,1)=1&(2,2)=0[/arrayset]> [arrayset name=aOptions](3,1)=&(3,2)=20[/arrayset]>
> [/loop]
>>> Note that index (3,1) is set to a blank value. If this is set to a> non-blank value, it works fine.>> My workaround for now is to test the value for blank before settingit.>> WebDNA 5.0, OSX>> - brian>> -- Brian Fries, BrainScan Software --> http://www.brainscansoftware.com ---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
Top Articles:
Talk List
Related Readings:
Shipping.db (1998)
Help! WebCat2 bug (1997)
Help please (2004)
Further tests with the infamous shipCost (1997)
WC2b15 File Corruption (1997)
[/application] error? (1997)
Can't add a field (1998)
[cart] not being interpreted inside [founditems] (1997)
default value from Lookup (was Grant, please help me) (1997)
Re[2]: Bugs still *not* fixed as promised ... (2000)
WebCat2 beta 11 - new prefs ... (1997)
RE: Pop-Up Redirects (1998)
More than one db with the same namn (was: WC2f3) (1997)
Sku numbers (1997)
FlushDatabase Suggestion (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WebCatalog can't find database (1997)
Upload and WebCat (1998)
Multiple catalog databases and showcart (1997)
Reversed words (1997)