properties

Robert Brenstein rjb at robelko.com
Thu Jun 10 23:20:34 EDT 2004


>How can I read the properties of an object?  I thought all we had to do was:
>
>get the properties of btn 1
>answer it
>
>... and that would show me the array of items of properties set on 
>that btn.  But it returns empty for anything I try to get properties 
>for.
>
>Sincerely,
>Simon
>

get the properties  returns an array, so try

get the properties of btn 1
answer the keys of it

or to see all the values

put the properties of btn 1 into p
put the keys of p into k
put empty into r
repeat fopr each line i in k
     put i && "=" && p[i] & cr after r
end repeat
answer r

Robert Brenstein


More information about the metacard mailing list