TatScript.LoadCodeFromStream Method
Loads a compiled script p-code from the stream specified by AStream.
Remarks
The stream must contain p-code previously saved with SaveCodeToStream. After loading, the p-code is held in an internal in-memory stream and the script can be executed without recompilation. Meta-information (declared routines, variables, used units, etc.) is also loaded from the stream.
Syntax
Unit: atScript
procedure TatScript.LoadCodeFromStream(AStream: TStream); virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AStream | TStream |