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:
Running _every_ page through WebCat ? (1997)
Erotic Sites (1997)
WebCat2 beta 11 - new prefs ... (1997)
[WebDNA] Ubuntu 11.10 (2012)
customizing the color of user's pages (1997)
Unauthorized User trouble (1998)
Verifying both name and password (was: THANKS) (1997)
double lines in sendmail (2008)
Refering page (1998)
docs for WebCatalog2 (1997)
select multiple (1997)
[ShowNext] (1997)
How to pass from a detail page to another? (1998)
Server slowing down. (1997)
post (2000)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
[WebDNA] Comparing fields in a search (2010)
[BULK] [WebDNA] A new commerce system for v7+ (2011)
many-to-one problem (1998)
[isfile] ? (1997)