Re: Something like pointers?

1999-10-02 Thread Geoff Canyon
It appears that on 9/30/99 7:33 PM, Karl Becker [EMAIL PROTECTED] wrote: So my question: how can I have the contents of a variable point to a variable name? If there isn't an indirection operator in MC already (which I don't think there is) , maybe it'd be nice to have one? (It'd

Re: Something like pointers?

1999-10-02 Thread Karl Becker
Actually, there is something very much like pointers: the "Do" command: on mouseUp put "myVar" into pointerVar put "some value" into sourceVar do ("put sourceVar into" pointerVar) answer myVar end mouseUp Hah, cool! Thank you! That's just what I wanted... however, in the past two

Something like pointers?

1999-09-30 Thread Karl Becker
Okay, another question... While making a card game (blackjack, specifically) , I've run into a little problem. I have a few different variables: player1Hand, player2Hand, player3Hand, and so on. In the script, I initialize all of them to 0, just to make it easier. However, after getting

Re: Something like pointers?

1999-09-30 Thread Scott Raney
On Thu, 30 Sep 1999, Karl Becker wrote: Okay, another question... While making a card game (blackjack, specifically) , I've run into a little problem. I have a few different variables: player1Hand, player2Hand, player3Hand, and so on. In the script, I initialize all of them to 0, just