#include <acknex.h> STRING* str_show = ""; TEXT* txt_d = { string = str_show; pos_y = 200; flags = SHOW; } void main() { var h = file_open_read("test.txt"); if (h) { STRING* s = str_create("#128"); file_str_read(h,s); //printf("The content is:\n%s\nThe length is:\n%d",s->chars,(int)str_len(s)); str_cpy(str_show,s); file_close(h); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de