Quote:Original post by ChJeesThere were a number of suggestions made earlier that you haven't yet incorporated into your code. I'd recommend going back and taking another look at those.
New code and i learnt how to use pointers in the process... (I am starting to like pointers :3.)
Still a lot of optimising to do though.
*** Source Snippet Removed ***
Also:
1. Declare variables near first use, not at the top of the function.
2. Declare and initialize variables in the same statement rather than in different statements.
3. In the following code excerpt:
//New codestring *TempVar;TempVar = &Variables[prefix];*TempVar = suffix; //Variables[prefix] = suffix; <- Obsolete
You actually had it right the first time (the use of pointers gains you nothing here).