put field "wordsAvailable" into fld gMyName of grp "WordsAvailableGroup" of \
cd quote & gMySound & quote of stack "defaults"
Maybe you are using bay as a variable name as well as a card name so it is looking for the wrong card.
Sarah
On Monday, November 18, 2002, at 03:11 am, Mark Swindell wrote:
Here's an example of some odd behavior I'm experiencing in a stack I'm
working on. On one card the below script works fine and does the desired
behavior. I switch cards and get the message "can't find card." Yet the
variables apparently contain correct values on both cards. I'm stumped.
(The function of the script is to save some user info on a card in a
substack called "defaults.")
A handler at the stack level called from a button:
put field "wordsAvailable" into fld gMyName of grp "WordsAvailableGroup" of
cd gMySound of stack "defaults"
returns "Can't find card."
gMyName = great
gMySound = bay
__
From the message box I get the following results:put the number of cd gMySound of stack defaults returns: "Can't find card" __ put gMySound returns "bay" __ put the number of cd bay of stack defaults returns "2" __What am I doing wrong? Any insight? Thanks, Mark _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution