the 'DEC TO CHAR' macro works only with a consequentive succession of chap #xxx ( xxx : value from 0 to 255)
thank you for suggesting mars.
i ended up with {.chr.} because it supports also hex.
strToInt() supports $xx format. Since this is a pascal syntax, i wanted something more "standard", and opted for a leading "x" instead of "$".
syntax is {.chr|13|10|x0D|x0A.}
do you agree?
if name = 'chr' then
begin
result:='';
for i:=0 to pars.count-1 do
try result:=result+chr (strToInt(replaceStr(pars[ i],'x','$')))
except end;
end;