Originally Posted By: testDummy
Relevant, digestible, manageable, practical, reasonable or not, it should be possible to load text from file into a non-VISIBLE TEXT, and show n lines from that in a VISIBLE TEXT, via something similar to str_cpy(tShown.string[j], tHidden.string[i]).

Note: Functions txt_setvisible, txt_setinvisible, might be A7 Lite-C only.


Originally Posted By: EvilSOB
Like testDummy said, something like this.
(Untested, as I dont really know c-script)

Code:
// legacy usage
// var temp[3];
TEXT txt {
	//font = ?;
	pos_x = 0;
	pos_y = 0;
	layer = 1;
	strings = 32;
	flags = VISIBLE;
}

TEXT txt_buffer {  strings = 255;  }  //this IS invisible


function main() {
	temp.x = txt_load(txt_buffer, "file.txt");        // load STRINGs from file
	// temp.x is number of STRINGs loaded
	//
	temp.y = str_len(txt_buffer.string[temp.x -1]);   // access nth STRING, last STRING
	//
	//  copy first 5 lines to the screen
	temp.z = 0;
	while(temp.z < 5)
	{
		str_cpy(txt.string[temp.z], txt_buffer.string[temp.z]);
		//or str_cpy((txt.string)[temp.z], (txt_buffer.string)[temp.z]);
		temp.z = temp.z + 1;
	}
}


Thanks guys what you guys said really helped a bunch. and now I can finaly print specific text. I have been looking trough the manual fore a long long time now but I just didn't find the moost things you mentioned here.

so I thank you guys from the bothem of my heart