Re: Scoping rules in WebDNA 4.0

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29425
interpreted = N
texte = > Lazy scoping is fine, as long as the rules are stated explicitly, so we can > determine the precedence. I have no problem with the thought that the same > variable name can have different meanings depending on the context that > contains it, but then I am a Perl Hacker in real life ;~0 > > [dbname.date] vs [cart.date] vs [sys.date] > > John PeacockThis one. Right Here. it's simple, clean, perfect. if you are in two nested searches in two databases, with the same field names... you will simply specify which database in the variable name!Beginners will understand it, because it makes sense.Hey, while we are at it, how about having WebCatalog understand that data inside a variable name is just that (data) and it should ignore any operations it sees... think of it as Pre[url]ing the data on both sides of a showif or a hideif.Thanks for allowing the input! Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Scoping rules in WebDNA 4.0 (Thomas Wedderburn-Bisshop 2000)
  2. Re: Scoping rules in WebDNA 4.0 (Brian B. Burton 2000)
  3. Re: Scoping rules in WebDNA 4.0 (Thomas Wedderburn-Bisshop 2000)
  4. Re: Scoping rules in WebDNA 4.0 (Brian B. Burton 2000)
  5. Re: Scoping rules in WebDNA 4.0 (jpeacock@univpress.com 2000)
> Lazy scoping is fine, as long as the rules are stated explicitly, so we can > determine the precedence. I have no problem with the thought that the same > variable name can have different meanings depending on the context that > contains it, but then I am a Perl Hacker in real life ;~0 > > [dbname.date] vs [cart.date] vs [sys.date] > > John PeacockThis one. Right Here. it's simple, clean, perfect. if you are in two nested searches in two databases, with the same field names... you will simply specify which database in the variable name!Beginners will understand it, because it makes sense.Hey, while we are at it, how about having WebCatalog understand that data inside a variable name is just that (data) and it should ignore any operations it sees... think of it as Pre[url]ing the data on both sides of a showif or a hideif.Thanks for allowing the input! Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.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 To switch to the INDEX mode, E-mail to Send administrative queries to Brian B. Burton

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:

WebCatalog for Postcards ? (1997) bug in [SendMail] (1997) if else problem (2003) Separate SSL Server (1997) Hide Ifs (2000) To Err or Not Custom Error (1999) spawn (1998) Summing fields (1997) can WC render sites out? (1997) ANother SHOWIF problem (1997) Searching Numbers (2004) WebCat2: multiple currency support (1997) HTML Mail & Line breaks... (2004) Re:my First Ship table (1998) mac hack (1997) Porting to NT (2001) Help formatting search results w/ table (1997) Searching a field and returning the highest value (1997) Null Characters (2005) Email/Sendmail in WEBDNA has stopped... (2004)