Thank you for your feedback. The macro-variables are inserted before the resulting script is passed to the script engine. There is no such thing exists at that point in time as comments. It is just a piece of text. Presently comments are supported only in the beginning of the line as in batch files. If you prefer you can use VBScript language for jobs. VBScript supports comments in virtually any place. Single job script size is limited to about 32K. This is a limitation of the storage field. I can hardly imagine any job that long. I can help you to cut size of your scripts. Please post your example script here and I will suggest how to do it more efficiently. : Of all the programming languages I have seen, comments : are totally ignored. When 24x7 encounters a comment symbol, : it should do nothing with the comment or the following text : until it reaches the end of the line. For example, placing : a comment on the end of a line that has a statement. Since : there is a limit to the size of a script (that you say cannot : be changed), this would help save space and help readability. : Also, placing a comment after a dim statement only places the : comment into the variable as an initial value. Could 24x7 : ever be repaired to totally ignore a comment, no matter where : it is placed?
|