Re: Function defined inside Scope context

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60646
interpreted = N
texte = FYI: Confirmed that this is a bug in version 6. It has been fixed for the next WebDNA release. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Brian Fries Sent: Monday, December 27, 2004 01:05 PM To: WebDNA Talk Subject: Bug: Function defined inside Scope context Through a bit of trial and tribulation I isolated a bug in WebDNA 6=20 (OSX at least)... If you define a function inside a SCOPE context, and the function uses=20 a RETURN context, then calling that function will cause WebDNA to never=20 return from the function call.. Example: [scope name=3Ddummy] [function name=3DCallMe] [return]555-1212[/return] [/function] [CallMe] [/scope] If the function is defined outside of the scope, or the return context=20 is not used inside the function, then the code works fine. - Brian -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com=20 -- ------------------------------------------------------------- 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: Function defined inside Scope context ( Brian Fries 2005)
  2. Re: Function defined inside Scope context ( "Scott Anderson" 2005)
  3. Bug: Function defined inside Scope context ( Brian Fries 2004)
FYI: Confirmed that this is a bug in version 6. It has been fixed for the next WebDNA release. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Brian Fries Sent: Monday, December 27, 2004 01:05 PM To: WebDNA Talk Subject: Bug: Function defined inside Scope context Through a bit of trial and tribulation I isolated a bug in WebDNA 6=20 (OSX at least)... If you define a function inside a SCOPE context, and the function uses=20 a RETURN context, then calling that function will cause WebDNA to never=20 return from the function call.. Example: [scope name=3Ddummy] [function name=3DCallMe] [return]555-1212[/return] [/function] [CallMe] [/scope] If the function is defined outside of the scope, or the return context=20 is not used inside the function, then the code works fine. - Brian -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com=20 -- ------------------------------------------------------------- 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:

Problems with Price field (1997) WebCat2 several catalogs? (1997) Templates for Customer Database? (1997) comparisons using [ImageHeight] inside [fileinfo] giving (2004) Sendmail & Time Issue (2001) Emailer Timing out (1999) Country & Ship-to address & other fields ? (1997) Bug Report, maybe (1997) Quitting WebMerchant ? (1997) Feature req. (2002) RE: Major Security Hole IIS NT (1998) nesting limits? (1998) Memory Parameters (1998) Quit revisited (1997) question: webdelivery folder and file (1997) is [Bankres] an internal webcat variable? (1999) WebCat2.0 [format thousands .0f] no go (1997) [WebDNA] AC paymethod is missing (2008) Error Log.db --however (1997) Two stores, one server (1998)