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:
Deleting Orders (1997)
Is there an easier way? (1998)
Site Specific Shopping Cart folder and Orderfiles (2000)
RAM variables (1997)
item sorting (1997)
flushing databases (2003)
Dummy Credit Card Number for debug? (1997)
Hosting Options (2000)
Re:Listfiles (1998)
free "Image Viewer" widget (2004)
Summary Searches (2000)
Error:Too many nested [xxx] contexts (1997)
[Webcat 2]Next (1997)
Running _every_ page through WebCat ? (1997)
OT: AppleScript question (2003)
Help formatting search results w/ table (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Nested tags count question (1997)
Quitting WebMerchant ? (1997)
WebCatalog Plug-in for Webstar. (1997)