problem with counting words

J. Landman Gay jacque at hyperactivesw.com
Sun Oct 12 22:23:40 EDT 2014


On 10/12/2014, 7:32 PM, Mark Wieder wrote:
> What I'd need to
> do in that case is say
>
> linecount "some file with spaces.txt"
>
> And then the operating system would treat everything within the quotes
> as a single parameter.

Which is probably the same reason the HC team did it that way, because 
the example they used to give involved the ease of extracting object 
names. The name of an object is in the form:

stack "My Great Stack"
button "Click Me"

And if you wanted the short name you just got word 2 of the name. That 
would be a single parameter that was easy to pass to the engine.

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




More information about the use-livecode mailing list