possible bug with strCopyLen
when is was printing the information copied i keept getting some jibberish, like it was reading past the mem used for that string. so i made this to test and as i suspected, seems like strcopylen doesn´t add 0 at the end of the buffer
program WIN32CUI 'Test';
#include 'ch.zir';
#include 'fileio.zir';
#include 'strings.zir';
char curVar[25], server_name[25];
strCopyLen(@curVar, 'testing a thing here', 20);
strCopyLen(@curVar, 'name', 4);
strLen(@curVar);
strCopyLen(@server_name,@curVar, eax);
print('curVar= ',@curVar, '\r\n');
wait_key(nil);
ExitProcess(0);
prints
curVar= namening a thing here
"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b