a function for custom properties

Klaus Major klaus at major-k.de
Thu Oct 23 07:17:45 CDT 2003


Hi Erik,

> i wrote a function for custom properties,
> then some how lost it.
>
> all my custom props are preceded by "u":

By me? ;-)

> uNote, uBeat, etc.
> something like:
> function u pParam
>   return value("the u" & pParam && "of this
> stack"
> end u
>
> or
> return value("the u" & pParam && "of this stack")
>
> was working, honest!
>
> after an hour, i am stuck.
> any ideas?

I always "get" the names of customprop and never had problems with it...

Like:

function u pParam
   get ("u" & pParam)
   return the it of this stack
end u

Hope that helps...

> thanks, Erik

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list