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:
| |
- 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:
mac hack (1997)
No more misunderstanding ... yay! :) (1997)
[OT] Merchant Accounts (2007)
Can [formvariables] do this? (2000)
[WebDNA] Snow Leopard (2009)
Warning: Mac OS X 10.2.4 Update Overwrites Apache's (2003)
Order not created error (never mind) (1997)
Okay, I give up... (1999)
chat opinion ... (2002)
Great product and great job ! (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Exclamation point (1997)
Mozilla/4. and Browser Info.txt (1997)
Pithy questions on webcommerce & siteedit (1997)
WC Database Format (1997)
Multiple prices (1997)
Sorting by date (1997)
Weird Math and SV Bad News (1997)
Price question (1998)
[WebDNA] Was: wiki Now: Object-oriented programmng (2009)