// legacy usage
// var temp[3];
TEXT txt {
//font = ?;
pos_x = 0;
pos_y = 0;
layer = 1;
strings = 32;
flags = VISIBLE;
}
function main() {
// load STRINGs from file
temp.x = txt_load(txt, "file.txt");
// temp.x is number of STRINGs loaded
// access nth STRING, last STRING
temp.y = str_len(txt.string[temp.x -1]);
// temp.y = str_len((txt.pstring)[n]);
}
thank you this already really helped me. but I was wondering.
if it posible just to extract a specific amount of lines.
since I have a program that looks fore a answer to the asked question and then the answer must be printed onto the screen.
I have been trying to do this with the code you gave me but it's just printing everything no mather what I do.