Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Vesuvian
Posted By Vesuvian On 06-03-2010 | Views: 1,526 Replies: 3
Forum: Programming
All fixed. To anyone who stumbles across this with the same problems:

1) global variables need to be defined in the procedure as well as outside the proc.

2) file id's can be defined globally...
Posted By Vesuvian On 06-03-2010 | Views: 1,526 Replies: 3
Forum: Programming
Aha, gotta declare the vars again in each proc.

How do I globally define the $file, since I don't know datatype?
Posted By Vesuvian On 06-03-2010 | Views: 1,526 Replies: 3
Forum: Programming
Ok, so I'm being a complete newbie and getting stuck with scope. How should I be doing this?


$fileLoc = "C:/output.txt";
global $file=`fopen $fileLoc "r"`;

global int $readcount = 0;
global...
Posted By Vesuvian On 15-02-2010 | Views: 3,660 Replies: 1
Hi

I'm currently in a lesson working with basic expressions. The task was to create an expression that would make an oil lamp swing on it's hinge. My original code:

//values are keyed to...
Showing results 1 to 4 of 4