Re: Can you do this??? and other stuff

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10433
interpreted = N
texte = >[Showif [var]!HO] >[Showif [var]!OS] >[Showif [var]!IS] > >Show this > >[/showif] >[/showif] >[/showif] > >Seems to work ok. Wondering if this is OK to do. Cause if it is, wow the >power of nesting commands like this opens up many doors. Not covered in >the reference docs that I could find.Yes that's quite a natural thing for WebCat to see. Sorry for not covering it in the docs explicitly -- I'm trying to figure out a good place to say something like that, because it doesn't fit into any particular context.Here's a cool tip that uses lots of nesting to do something useful:(the syntax may not be perfect; I'm typing from memory)[math]superGrandTotal=0.0[/math] [ListFiles Orders/] [OrderFile Orders/[fileName]] [Date] [Time] [Name] $[GrandTotal]
[math]superGrandTotal=superGrandTotal+[GrandTotal][/math] [/OrderFile] [/ListFiles] Total of all orders: [math]superGrandTotal[/math]This summarizes all the orders sitting in your orders folder, showing the total of all orders combinedGrant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: Can you do this??? and other stuff (Grant Hulbert 1997)
  2. Can you do this??? and other stuff (grichter@panavise.com (Gary Richter) 1997)
>[Showif [var]!HO] >[Showif [var]!OS] >[Showif [var]!IS] > >Show this > >[/showif] >[/showif] >[/showif] > >Seems to work ok. Wondering if this is OK to do. Cause if it is, wow the >power of nesting commands like this opens up many doors. Not covered in >the reference docs that I could find.Yes that's quite a natural thing for WebCat to see. Sorry for not covering it in the docs explicitly -- I'm trying to figure out a good place to say something like that, because it doesn't fit into any particular context.Here's a cool tip that uses lots of nesting to do something useful:(the syntax may not be perfect; I'm typing from memory)[math]superGrandTotal=0.0[/math] [ListFiles Orders/] [OrderFile Orders/[fileName]] [date] [time] [Name] $[GrandTotal]
[math]superGrandTotal=superGrandTotal+[GrandTotal][/math] [/OrderFile] [/ListFiles] Total of all orders: [math]superGrandTotal[/math]This summarizes all the orders sitting in your orders folder, showing the total of all orders combinedGrant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Grant Hulbert

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:

User/Pass dialogue issue [AOL?] (2002) Yet another db manager (2004) Problems with [Applescript] (1997) BR (1997) Hairy Shipping Monster (2006) UnitShipCost Slight Return (2003) Another question (1997) EmailProblem (2003) DDE feature in webcat (1998) F3 crashing server (1997) New commands in Final candidate (1997) Round up prices (2000) How do I pass [cart] when user clicks back (2000) Running 2 two WebCatalog.acgi's (1996) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Does webcatalog recognise NULL values? (1998) database performance/design question (2000) [shipTotal] or [shippingTotal] ??? (1998) WebMerchant Only reads 1.4 order files error (1997) Upgrade Price Problems (2000)