|
YES
Posted by Stephen at 03/18/2001 8:58 PM EST
Student on team #122, NASA Knights, from Grafton High School (Robotics team is at NHGS) and NASA.
In Reply to: OK... new question
Posted by Gui Cavalcanti on 03/18/2001 6:09 PM EST:
Yes, variable and constant declarations have to be the same in every program. This can be a pain if you want to change one thing - you would have to change it in all programs. I have written a short perl program to take input from one file (or many), and put that into the specified part of each program. All you have to do is tell the program what file or files your variable and constant declarations are in, and it automatically puts those into every file in the folder with a .bsx extension ( you could change this part by just changing the list to the files your programs are in, just in case you only wanted the code to effect certain programs in a directory). If you want the program, just e-mail me, and I'd be glad to send it to you.
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|