In this code:
local clname="newlistb"
if ("x" == "y")
do ("K:\\Identity\\SoundBank\\checkend.wav")
cl.insert(clname, 5)
endif
the cl.insert() always executes. I put the sound in there just to make
sure I wasn't hallucinating. I also contrived an if statement that
could never be true just to be sure I wasn't hallucinating. I should
be obvious that somewhere in my PowerPro setup I have a command list
called 'newlistb'. I do. And a button that executes the script (which,
FTR, is in a script file called clinsert.powerpro).
And when I execute the script, I always get an item inserted at
location 5 and I never hear the sound in checkend.wav.
What am I missing?
evan
PS: This time I rebooted before I composed this message :)>
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/