Re: Crashing bug setting an array value to blank

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52535
interpreted = N
texte = Then don't do that ;) That is a bug in the ArraySet code. It has been fixed. This fix will be included 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 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Crashing bug setting an array value to blank SMSI: Any response on this bug? I've just been bitten by it again (fool me once...). - brian On 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 start=1&end=8] > &ordOptID[index]=[aOptions([index],1)] > &ordOptValue[index]=[aOptions([index],2)]
> [/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 setting it. > > 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 . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Crashing bug setting an array value to blank ( "Scott Anderson" 2003)
  2. Re: Crashing bug setting an array value to blank ( Brian Fries 2003)
  3. Crashing bug setting an array value to blank ( Brian Fries 2003)
Then don't do that ;) That is a bug in the ArraySet code. It has been fixed. This fix will be included 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 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Crashing bug setting an array value to blank SMSI: Any response on this bug? I've just been bitten by it again (fool me once...). - brian On 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 start=1&end=8] > &ordOptID[index]=[aOptions([index],1)] > &ordOptValue[index]=[aOptions([index],2)]
> [/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 setting it. > > 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 . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Scott Anderson"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

Separate SSL Server (1997) 2.0 Info (1997) input problem (1999) Dubble Sku's in a Database (1999) Loss in Form (1998) [WebDNA] IIS 7 test site on webserver IIS issue (2012) UPPERCASE (1997) RE: IIS4b2 and WebCatalog b19 (1997) New Site Announcement (1998) printing twice? and fix (1997) Part Html part WebDNA (1997) [ShowNext] feature in 2.0 (1997) [WebDNA] [replace] bug in v7.0? (2010) with Link i need to (1997) IRC Channel (2003) Q: for those who use Cookies for sessions? (2004) Not Authorised Adding Items (1998) Substring matches, word breaks, groups, and forms (2002) PIXO support (1997) Possible Bug in 2.0b15.acgi (1997)