Comment about "do" (was clickLine/clickcharchunk)

J. Landman Gay jacque at hyperactivesw.com
Tue May 7 22:58:54 EDT 2013


On 5/7/13 7:06 PM, dunbarx at aol.com wrote:

> When I first started with LC, one of the first things I tried was to
> see if something like the first construction above processed  "like
> it should". I think I tested "the foundField". I was astonished that
> it did not. Is there is something deeply ingrained in the way this
> type (all types?) of parsers work that it can not do this?

I'm not sure how any parser could tell if you meant the variable to be a 
container or the value that's in it. "Get the clickline" is just a 
shortcut for "put the clickline into it". So you have:

   put the clickline into it
   put random(99) into it

which is functionally the same as:

   put "abc" into it
   put "def" into it

What we really need is a mind-reading processor. I could have used that 
today.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list