strfmt function in X++

strfmt function also converts any other data types into string :
void dispFun( )
{
int age=5;
str name ="abdel fatah";
;
info(strfmt("My Name Is : %1 , My Age Is : %2",name,age));
}

Comments

Anonymous said…
%1 & %2 meaning??
icuenv said…
%1 and %2 are values of variables that come after the ",
%1 - name
%2 - age

Popular Posts