Len Morgan wrote:
Can you use a variable name as the index of an array? It doesn't
appear so or I'm doing something wrong. Here's what I'm trying:
put 1 into tasks["Search"]
put 2 into tasks["Reports"]
then in a menuPick handler:
on menuPick pChoice
goto cd tasks[pChoice]
end menuPick
Hi Len,
If your actual script contains "goto" and not "go to", that could be
your problem.
--
Phil Davis
PDS Labs
Professional Software Development
http://pdslabs.net
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution