getProp Parameters

Igor Couto igor at pixelmedia.com.au
Fri Aug 1 03:42:00 EDT 2003


Dear Monte,

WOW!

On Friday, August 1, 2003, at 06:19  PM, Monte Goulding wrote:

> You can't pass a parameter but you can do this:
>
> -- I guess this is what's meant by a getprop parameter
> getProp cProperty pIndex
>   switch pIndex
>     ...
>   end switch
> end cProperty
>
> Then you use the following code to get the property:
>
> put the cProperty[pIndex] into tProperty
>

That's great! I'm going to have to try this! This would have saved me 
SOOOOOOOOOOOOOOO much time!!!

Many, many thanks for the tip!

Kind Regards,

--
Igor
----------------------------------
igor at pixelmedia.com.au
----------------------------------




More information about the use-livecode mailing list