Thread: Muiltiprograms
View Single Post
  #8   Spotlight this post!  
Unread 15-12-2002, 01:08
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Are you talking about inputing, for example, p1_x sometimes and not inputing it at others? If so, my advice would be to still input it for simplicity, but immediately after the serin change its value to whatever you want it to be. Likewise, you can always alias a more convient name to use the same space as p1_x. For example:

newVarName VAR p1_x

just remember that anything you write to newVarName will also change the contents of p1_x, and vice-versa.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php