Bug: Function defined inside Scope context

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60608
interpreted = N
texte = 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. Bug: Function defined inside Scope context ( Brian Fries 2004)
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:

[Webcat 2]Next (1997) Help! WebCat2 bug (1997) Setting up WebCatalog with Retail Pro data (1996) [off] Promotions Co? (1997) WebCatalog Startup and OSX with ODBC (2002) $Quit, $CloseDatabase corrections (1997) groups and [ShowNext] (1997) GuestBook example (1997) text size limitation (1997) Here we go again... was: DDEConnect not working (2006) Re:WebCat hosting sites? (1998) WebCat2 - Getting to the browser's username/password data (1997) [Listfiles] vs Netfinder (1997) Mac 2.1b4 unknown error: BadSuffix (1997) possible, WebCat2.0 and checkboxes-restated (1997) form crasehes server (1997) AOL and webcat (1998) Fwd: Problems with Webcatalog Plug-in (1997) French characters in variables (2001) Feature Request: ! character bug correct in [showif [variable]=] (2000)