Hi all,
Im just building a section of code that generates a file that is read by another system, however im not sure quite how the syntax of the write statement works. Im used VB where you can specify and end of line char (charrige return) so that when you write a line to a file it moves down to the next.
SiteFile.WRITE(item."groupname" + 'testtext');
As you can see its nothing complex that im trying to do but i find this development environment a nightmare!! What im looking for is to insert a end of line character after "testtext". Any help would be appreciated as the C/AL reference lib is VERY clear :P
Cheers in advance
Mick
Comments
try SiteFile.TEXTMODE(TRUE) before you open SiteFile.
this should do charrige return and new line.
Read the C/SSIDE Reference Guide (=Online Help) for:
OPEN, WRITE and TEXTMODE
br
Josef Metz
Josef Metz
The function can then be used to do the following:
Jan Hoek
Product Developer
Mprise Products B.V.
Good to know for future reference though. Fridays and mondays are never good to dive into a problem when you know your going to get distuirbed :P
Mick