Passing Params to Handlers -- Did it Change?
Stephen Barncard
stephenREVOLUTION at barncard.com
Mon May 28 22:41:17 EDT 2007
DON'T use the parentheses with a command; it indicates a function to
the compiler.
I think values within parentheses used to work with commands, but not
recently. I've been caught by this myself.
>Either my memory is bonkers, something changed or there is a bug
>
>I have this in a top script, that picks up an file name on a loop:
...
>And, to my surprise, the params passed to the handler are not being parsed...
>
>I get this result for the first param "pWidth"
>
>360,DSCF0347.JPG
>
>Is this not correct syntax for for passing several values to a handler?:
>
> scaleImageToWidth(360, tImage)
>
>I thought this always worked before.. i must be missing something here.
>
>Sivakatirswami
>www.himalayanacademy.com
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list