a function for custom properties

erik hansen erikhans08 at yahoo.com
Fri Oct 24 16:50:09 EDT 2003


--- Klaus Major <klaus at major-k.de> wrote:

> > a function for custom properties:
> > all custom properties are preceded by "u":
> > uNote, uBeat, etc.
> >
> > put u("note") # note the quote
> >
> > function u pParam
> >   return ("the u" & pParam && "of this
> stack")
> > end u
> 
> returns this string:
> 
> the unote of this stack
> 
> Hmmm...
> 
> I will stick with IT :-)

yeah, that should be: 

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

this will return the property's current setting.

out of curiosity, where do you stick by it?

thanks for the feedback (zuruckFressen?).

Erik (Erich)


=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


More information about the use-livecode mailing list