Re: Function defined inside Scope context

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60650
interpreted = N
texte = Thank you, Scott. - Brian On Jan 3, 2005, at 3:48 PM, Scott Anderson wrote: > 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 > (OSX at least)... > > If you define a function inside a SCOPE context, and the function uses > a RETURN context, then calling that function will cause WebDNA to never > return from the function call.. > > Example: > > [scope name=dummy] > [function name=CallMe] > [return]555-1212[/return] > [/function] > [CallMe] > [/scope] > > > If the function is defined outside of the scope, or the return context > is not used inside the function, then the code works fine. > > - 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/ 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)
Thank you, Scott. - Brian On Jan 3, 2005, at 3:48 PM, Scott Anderson wrote: > 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 > (OSX at least)... > > If you define a function inside a SCOPE context, and the function uses > a RETURN context, then calling that function will cause WebDNA to never > return from the function call.. > > Example: > > [scope name=dummy] > [function name=CallMe] > [return]555-1212[/return] > [/function] > [CallMe] > [/scope] > > > If the function is defined outside of the scope, or the return context > is not used inside the function, then the code works fine. > > - 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/ Brian Fries

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:

Apologies to the LIST (2002) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCatalog for Postcards ? (1997) Couple of questions (1999) Help name our technology! (1997) Release of 2.01? (1997) Suffix Mapping (1997) Field name-subcategory (1997) X etc.... (1999) RE: Clearing orders and database help! (1997) Timer Values on [redirect] (1998) Shop till you drop dead on the avenue ... (1997) (1997) EMailFolder will not send (2003) [WebDNA] Processor Maxing out (2010) Secure server question (1997) More on the email templates (1997) Email (1998) limitation found on group searching (1997) Parameter Passing (2000)