@SpriggsySpriggs I am unfamiliar with token systems, have I summerized the goal correctly:
read a string and count chars of interest into a (Shared?) array?
So input string and chars of interest, output array of chars and their counts < dont even have to share this!
BTW allot of code savy guys seem to frown upon sharing?
I think I prefer sharing specially with arrays we can't output as functions.
I don't know the overhead involved under the hood to pass an array to routine.
Is it worth adding another parameter to the user defined routine?
Seems to me the sharing question is first thing to resolve in cleaning up this code.
Also Aurel makes a huge list of constants for each char, why not make 1 string of chars, their position in string associates to their index number so if first char is (
then CharList$ = "("
That works only if single chars not longer words but I don't think he uses words (more than 1 char).
read a string and count chars of interest into a (Shared?) array?
So input string and chars of interest, output array of chars and their counts < dont even have to share this!
BTW allot of code savy guys seem to frown upon sharing?
I think I prefer sharing specially with arrays we can't output as functions.
I don't know the overhead involved under the hood to pass an array to routine.
Is it worth adding another parameter to the user defined routine?
Seems to me the sharing question is first thing to resolve in cleaning up this code.
Also Aurel makes a huge list of constants for each char, why not make 1 string of chars, their position in string associates to their index number so if first char is (
then CharList$ = "("
That works only if single chars not longer words but I don't think he uses words (more than 1 char).
b = b + ...