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

I need to do this because I have more cards than I have menu choices and they are intermixed with the "real" ones and I don't want the user to go directly to these "hidden" cards.

Am I going to have to resort to a "do" command? I tried that quickly but it just gave me an error.

len morgan
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to