NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



Interpret

Interprets a string as source

This function should be used with caution if the source of the interpreted code is unsafe, or unknown-- as an attacker could use poorly written code for malicious purposes.

Sample Source

strCodeToRun := "Say \"Hello World\""

Interpret strCodeToRun

Sample Source

# THIS IS __NOT__ RECOMMENDED!
# A malicious attacker could pass code to run programs on your system through
# the web parameter "CodeToRun", so it is not recommended to use Interpret
# here, unless you are sure you are dealing with a trusted source.

strCode := Parameter "CodeToRun" As String
Interpret strCode

# Do not use this code sample!

Related Function(s):
   IncludeFile; RunProgram;

Minimum version: 1.0