Question Is there a function to write file?

Racist Dolphin

Insane-Known Member
Messages
11
Points
358
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
123
Points
663
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