a tip for newbies (like me)

Dar Scott dsc at swcp.com
Wed Mar 20 14:07:01 EST 2002


On Wednesday, March 20, 2002, at 07:31 AM, BCE wrote:

> The RIGHT method: (at least for me, on windows)
>
> on mouseup
>     ask file "What file?"
>     put ("file:" & it) into field "myField"
> end mouseup
>
> Notice the parentheses in the second line --- they make the difference.
> Otherwise, just the name of the file is put into the field, and not the
> contents

Aaaaaiiiii!!  The more I learn the less I know.

I thought, from the dictionary, that parentheses were just for 
grouping.  Moreover, I thought "file:" was just for URL.

I have to rethink how I think commands are executed.

Dar Scott




More information about the use-livecode mailing list