Indirection question
Ken Norris (dialup)
pixelbird at interisland.net
Wed Feb 19 23:04:00 EST 2003
**********
> Date: Wed, 19 Feb 2003 13:07:35 -0700
> Subject: Indirection question
> From: Barry Levine <themacguy at macosx.com>
> on mouseUp
> if currentLetter = "W" then put "theW" into theList
> (etc)
> answer theList
> end mouseUp
>
> Now, if I do this, the answer dialog shows "theW" instead of the
> contents of the var named theW. Obviously, I'm not referring to the
> variable in the appropriate manner.
----------
Remove the quotes:
if currentLetter = "W" then put theW into theList
...theList will then have the same content as theW
Too easy?
Ken N.
More information about the use-livecode
mailing list