Logging Help files

Posted by Jeffrey F. Pia on Sun 17 Nov 2002 05:06 AM — 2 posts, 12,634 views.

#0
I'm new at working with log files. I am trying to log help files for Socials. I use 2 subroutines to facilitate this. One to open the log file at the start of a help file, the second to close the log at the end of the help file text. Everything works fine except for one thing. The log file constantly gets overwritten instead of appended to. I'm sure there's a parameter that I'm forgetting, but I can't find any further examples in Mush's help files. Any pointers would be appreciated. Here's my code:


Sub OpenSocialLog(x, y, z)

  World.openlog "Socials.txt", TRUE
  World.WriteLog z(10)

End Sub

Sub CloseSocialLog(x, y, z)

  World.CloseLog

End Sub


Thanks!
Australia Forum Administrator #1
I would be cautious about using "TRUE". Does it exist? Try using "vbTrue" instead.