Computer Science Canada quick questions... |
Author: | haujobb [ Tue Apr 01, 2003 11:02 am ] |
Post subject: | quick questions... |
1. Is it possible to make global variables such as in C. 2. Is it possible to have one procedure call another? |
Author: | Prince [ Tue Apr 01, 2003 11:17 am ] |
Post subject: | |
from stuff ive done, both r possible... to create global variables, jus declare them b4 everything else (procedures, functions, etc.) and i assume u already kno how to call to a procedure |
Author: | haujobb [ Tue Apr 01, 2003 11:37 am ] |
Post subject: | |
I'm implimenting a gui rite now and i have the button set to call a function which passes some variables to another function... i think im doing too much work but it seems to be the only way to not get error messages, but when you hit the button nothing happens... |
Author: | Asok [ Tue Apr 01, 2003 5:06 pm ] |
Post subject: | Do not post general topics. |
Please read the announcement on not posting general topics. As far as global variables are concerned you don't need them. Considering your "workspace" consists of one file a global variable is simply any variable declared before any code. |