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:

Date sorting (1997) 'Carting' into Frames (2000) RE: strip .0 off off IPaddress (1999) Copyright ? (1997) WCS Newbie question (1997) SQL Madness (2005) Fwd: Problems with Webcatalog Plug-in (1997) Re:Emailer setup (1997) Quitting WebMerchant ? (1997) The Form authentication trick (2000) Same Table Opened Twice (2003) Separate server for jpg/gif files (1998) Showif, Hideif reverse logic ? (1997) [dos] command (1997) problem serving foreign languages text (1997) Checkboxes (1998) OS X permissions to write to Globals directory (2003) Announcing general availabilty of WebDNA 4.5 release (2002) Generating Options for a Form. (1997) service stop and restart (1997)