zironProc does not make any difference , ziron does not detect function call .
ok will check this tomorrow morning, not at the office right now :)
A community discussion post from the original code:zIRON forum.
zironProc does not make any difference , ziron does not detect function call .
ok will check this tomorrow morning, not at the office right now :)
Ziron_RegisterUFunction & Ziron_CallUFunc does not work as expect
here is a part of plugin
// start pares if the var type is string
if(StringFlg)
{
// here we start getting what after '='
Ziron_GetNextToken();
H_strcpy(@str1,Ziron_GetStringValue());
buf=0;
H_strjoin(@buf, '(@' , @var, ', \'' , @str1, '\');' );
Ziron_CallUFunc(U_strcpy, @buf);
@lop:
eax = Ziron_IsNextLineBreak();
if (!eax) {
eax = Ziron_GetNextToken();
case (eax) {
state zirAndSym:
state zirComma:
Ziron_GetNextToken();
H_strcpy(@str1,Ziron_GetStringValue());
H_strjoin(@buf, '(@' , @var, ', \'' , @str1, '\');' );
Ziron_CallUFunc(U_strcat, @buf);
break;
// remove ';' if found
state zirSemi_Colon:
//Ziron_ShowMessage('found ;');
break;
// is there a function call
state zironProc:
Ziron_ShowMessage('found func');
break;
default:
Ziron_FatalError('Expected "+" or "&" or ";"');
return true;
}
goto @lop;
}
Ziron_ShowMessage(@buf);
/*
Len = H_strlen(@buf);
eax = Ziron_Execute(@buf,Len);
if (eax == false) {
Ziron_FatalError('error in let statment');
return true;
}
*/
return true;
}
and here is the test code
Let c = 'Emil' & ' ' & 'halim'
it output that 'EmilEmilEm' it must be 'Emil halim'
http://www.freewebs.com/ogremagic/index.htm
without telling what is problem or error i can not help.....
ok, no problem.
thank you for your job, and good by.
http://www.freewebs.com/ogremagic/index.htm
if you write what is error you get, then i can see if problem in your code or ziron
ok, i have fixed it , by butting buf=0; to ctear the buffer.
i was not clear enough.
anyway did you find the function detecting , hope you did it.
again thank you for you support.
http://www.freewebs.com/ogremagic/index.htm
not had time to look yet, but will shortly