Question Is there a function to write file?

Racist Dolphin

Veteran
Messages
11
Reaction score
8
Points
783
I'm trying to see what all is in a specific table and the best way I know is through writefile like with most languages does GSC have a function like that?
 

CF4_99

Veteran
Messages
145
Reaction score
56
Points
888
There are plenty of functions to read from a string table, here are some.

TableLookupFindCoreAsset(stringTableName);
TableLookup(<stringTable>, <searchIndex>, <searchString>,<outputIndex>);
TableLookupIString(<stringTable>, <searchColumnIndex>, <searchString>, <outputColumnIndex>);
TableLookupRowNum(<stringTable>, <searchColumnIndex>, <searchString>);
TableLookupColumnForrow(<stringTable>, <rowIndex>, <columnIndex>);

This is also an option for reading from a file. But, if you are trying to read values from a specific string table, I suggest using one of the functions above.
openfile( filename, "write" ); //Can also use 'append' instead of 'write'
 
Top