Section E.1. How Encoding and Decoding Works

E 1 How Encoding and Decoding Works

The command-line Script Encoder utility (screnc.exe) is responsible for encodingscripts. To determine what to encode, the Script Encoder looks for a start encode marker, which takes the following form for VBScript code:

'**Start Encode** 

The Script Encoder encodes the file from the point at which the start encode marker is encountered until the closing or %> tag, or until the end of the file is found. If there is no start encode marker, the Script Encoder encodes the entire script block indicated by the , <%...%>, or <%=...%> tags, or it will encode the entire file if no tags are encountered.

In addition to encoding the script, the Script Encoder changes the LANGUAGE attribute of the



Vbscript in a Nutshell
VBScript in a Nutshell, 2nd Edition
ISBN: 0596004885
EAN: 2147483647
Year: 2003
Pages: 335
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net