|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: Static Variables
Quote:
MyFunction.c void declarations(void) { int bob=2; } void hi(void) { int bill=0; extern int bob; bill=bob+2 } I need to define a variable in a function and make it available to everywhere in the rest of the file. Last edited by amateurrobotguy : 02-03-2005 at 19:05. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with Variables ? | David Bryan | Programming | 5 | 23-02-2004 07:42 |
| Joystick Variables | fred | Programming | 8 | 20-02-2004 10:58 |
| Simple problem with variables | sear_yoda | Programming | 4 | 05-02-2004 09:12 |
| VB Program to monitor robot variables | DanL | Programming | 7 | 15-02-2002 22:35 |