"
WScript.Echo "
"
WScript.Echo ReadFromFile("d:\data\orders\" & OrderNum & ".txt")
Note the use of HTML to include an image in the output. Although many
HTML tags require quotation marks, adding a quotation mark in the middle
of a line would cause WSH to confuse it with the beginning and trailing
quotes. To tell VBScript to treat a quotation mark as a character to print,
just put two of them together (as shown on the ???smiley??? line).
Decipher Script Errors
One of the general disadvantages of scripts is that they are typically created
with a plain-text editor, rather than a rich debugging environment used with
more sophisticated programming languages (see ???Find a Better Editor,??? later
in this chapter).
Pages:
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752