A Way To Have All Comments

General discussion about eValid, its characteristis and applications.

A Way To Have All Comments

Postby site » Wed Aug 17, 2011 3:55 pm

Hi, is there a way to have all comments I include in a script show up in the event log?
site
 
Posts: 2
Joined: Wed Aug 17, 2011 3:43 pm

Re: A Way To Have All Comments

Postby eValid » Wed Aug 17, 2011 3:58 pm

Comments in an eValid script file start with a # at the beginning of a line and except for appearing passively in the script window they are ignored entirely by eValid in terms of processing and passing information over to the Event Log.

If you want a message to appear in the event log there is a special command for this. The command "Note <message>" causes the "<message>" to be written into the event log.

So if you want to have ALL of your comments copied into the Event Log you could edit all lines which start with a # to one the starts with Note.

(Sorry for the single and double quotes, but the message after the command Note has to be inside a quoted string.)

_________________
eValid Support
eValid
 
Posts: 2398
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to General Solution Topics

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons