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:

Problems with dbcatalog.exe (1997) Appending current [date] to a database (1997) My new discussion forum (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) DB Field Name? (2000) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Adding muliple sku + quantities (1999) [isfile] ? (1997) Nested tags count question (1997) Re2: frames & carts (1997) Not reading blanks (1998) Summing fields (1997) FW: Shipping calculations (1997) (1997) One more time (1997) Searching multiple Databases (1997) WebCatalog featured at Internet World LA... (2000) Bannerad Demo (1998) Initiating NewCart (1997) Bug or syntax error on my part? (1997)