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:

[WebDNA] Converting | to TAB (2010) How To get Some Help (2003) ShowCart (2001) SKU (1997) Download URL & access on the fly ? (1997) How do I get data out of an Orderfile... (2001) Generating Report Totals (1997) SiteGuard Use Question (1997) Problems getting parameters passed into email. (1997) email program problem (1998) [random] only for 1-100??? (1997) forming a SKU (1999) date range (1998) Non HTML file protection - OS X (webstar or apache) (2002) problems with 2 tags shakur (1997) [date format] w/in sendmail (1997) time sort question (2005) Windows-based Code Editor (2002) Paging a SQL result... (2003) FAX orders (1996)