On Sat, 25 Jul 2009, April White wrote: > In order to validate format and content of the document files I want to > embed within the program a template. > Instead of having code like: > aTemplate := { "$DOC$", "$CATEGORY$", ..., "$END$" } > I've tried: > #xcommand TEXT TO VAR <var> => #pragma __stream|%s||<var>:=
Should be: #xcommand TEXT TO VAR <var> => #pragma __stream|<var>:=%s or you can also make sth like: #xcommand TEXT INTO <v> => #pragma __text|<v>+=%s+HB_OSNEWLINE();<v>:="" best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour