sscanf in torgue script
by Vladan Markovic · in Torque Game Builder · 07/13/2011 (8:41 am) · 0 replies
Hi All,
I am doing game port from C++ in to Torque script.
Thing is, i have over 1000 resource text based files that are parsed using sscanf function line by line.
Making a parsing function for each of those string patterns would take to much time because there are so many different patterns.
Is there anything similar to sscanf in Torque Script i could use? And, if not, what are my options? Making my own Torque Function by modifying source code of engine, or making full implementation of scanf in Torque Script without touching source?
Thank You.
I am doing game port from C++ in to Torque script.
Thing is, i have over 1000 resource text based files that are parsed using sscanf function line by line.
Making a parsing function for each of those string patterns would take to much time because there are so many different patterns.
Is there anything similar to sscanf in Torque Script i could use? And, if not, what are my options? Making my own Torque Function by modifying source code of engine, or making full implementation of scanf in Torque Script without touching source?
Thank You.