synonyms

Richard Gaskin ambassador at fourthworld.com
Thu Jun 29 13:33:16 EDT 2017


Bob Sneidar wrote:

 > Sorry, I simply do not see any advantage to this, other than making a
 > one liner to pass data to a command or function.
 >
 > put "chart" into tType
 > put "100" into tSize
 > doSomething tType, tSize

That's not a one-liner.  That's three lines.  :)

The call itself is indeed only one line, but to prep the args for the 
call requires as many additional lines as there are args.

This is a one-linter:

   doSomething type="chart"  size="100"

That's possible in R, Python, CSS, and others, but not natively in LC.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list