1) I get error like
First operand of . is not an object, so cannot access member WriteLine. (180,235) Z_REM_STRING.Z_FUNCLIB_FORMULA.FieldFormula Name:RemoveSpace PCPC:691 Statement:11
2) I have the record called Z_REM_STRING and have one field call FUNCLIB_FORMULA.FieldFormula
3) the function inside the FieldFormula is
Function RemoveSpace(&inputString As string) Returns string;
the code inside the function is work fine inside the AE
what mistake that I made?
The part where you have "some log" you have not declared the file.
Try something like:
Local File &myFileVar = GetFile("C:\temp\myLogFile.log","W",%Filepath_Absolute);
where &myFileVar is the file variable you use for the writeline.