Shorthand for command args

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16362
interpreted = N
texte = For a future release of WebCat, would it be possible to add short-hand for command arguments?Something like:[lookup db=../the.db&value=[sku]&lookinfield=sku&returnfield=description¬found=ERROR]could also be written:[lookup db=../the.db&v=[sku]&l=sku&r=description&n=ERROR]It seems that options like these, since they would be within the [brackets] of the command itself, wouldn't conflict with anything. Users would have the option of typing out the full argument names or using the shorthand versions.On the overboard side, you could also add perl-like math shorthands:nuts=nuts+7 would be shortened to 7+=nuts -Pat McCormick Associated Messages, from the most recent to the oldest:

    
  1. Shorthand for command args (Pat McCormick 1998)
For a future release of WebCat, would it be possible to add short-hand for command arguments?Something like:[lookup db=../the.db&value=[sku]&lookinfield=sku&returnfield=description¬found=ERROR]could also be written:[lookup db=../the.db&v=[sku]&l=sku&r=description&n=ERROR]It seems that options like these, since they would be within the [brackets] of the command itself, wouldn't conflict with anything. Users would have the option of typing out the full argument names or using the shorthand versions.On the overboard side, you could also add perl-like math shorthands:nuts=nuts+7 would be shortened to 7+=nuts -Pat McCormick Pat McCormick

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:

Nested tags count question (1997) Problem with summary on date / inconsequent webcat behaviour (1998) Using Cookie for client specific info? (1997) How to append text after the sign & (1997) Store builder question (2003) Database Strategy - more... (1998) WebCatalog-NT?'s (1996) [WebDNA] "Safe Write for Database" setting.... (2016) and more [shipcost].... (2001) [WebDNA] Sendmail BCC bug still exists (2015) WCS Newbie question (1997) Add a field to the error log? (1997) Exclude by date - multiple (1997) General Purpose Database utility ????? (2003) Separate SSL Server (1997) [interpret] inside the db field? (1997) Only charge card when product shipped ? (1997) emailer (1997) Reminder for beta testers (2000) WebCat2 beta 11 - new prefs ... (1997)