assignment problem
when compiling this
program WIN32CUI 'Helper test';
#include 'console.zir';
#include 'Helper.zir';
int32 len =0;
const name = ' Emil ';
pointer str1 = Trim(@name,@len);
print('trim test = ', str1 , '\r\n');
print('len sfter trim = ', len , '\r\n');
pointer leftstr = Left(str1 ,3);
print('left test = ', leftstr , '\r\n');
wait_key(nil);
ExitProcess(0);
i got that error
12,21]: Expected procedure address or register or macro call or procedure/function call or - or number or hexadecimal or variable or local variable or local parameter or constant string or constant but found Trim in [test.zir] Code: pointer str1 = Trim(@name,@len);
BTW , when put containt of Helper.zir in the test program , i did get any error.
http://www.freewebs.com/ogremagic/index.htm