TEXT TO varName NOSHOW TEXTMERGE
Posted: Wed Jul 10, 2024 7:45 pm
Hi,
Why TEXT/ENDTEXT with TEXTMERGE doesn't evaluate PARAMETERS variables?
Eg:
lcOutput then get this value:
I have to create local variables to hold the parameters values in order to TEXTMERGE being able to evaluate them.
thanks.
Why TEXT/ENDTEXT with TEXTMERGE doesn't evaluate PARAMETERS variables?
Eg:
Code: Select all
METHOD SomeMethod(tcFileName1 AS STRING, tcFileName2 AS STRING) AS VOID
LOCAL lcOutput := "" AS STRING
TEXT TO lcOutput NOSHOW TEXTMERGE
COPY FILE "<<tcFileName1>>" TO "<<tcFileName2>>"
ENDTEXT
END METHOD
Code: Select all
COPY FILE "** Error in expression (tcFileName1) **" TO "** Error in expression (tcFileName2) **"
thanks.