EvaluateScript

Revision as of 03:23, 26 April 2007 by Fredbrunt (talk | contribs)


(not exposed/documented prior to 4.0)

EvaluateScript( typescript )

Evaluates a typescript command. Returns the typescript output as a string.

Warning: There are some dangerous aspects to this function. It is not a function most users will want to make use of. However, because it provides access to typescript from expressions, it does open up some doors, making something things possible that would not otherwise be. But, if you use EvaluateScript, Analytica does not prevent you from "shooting yourself in the foot".

Despite the warning, there are many legitimate uses.

Example

The following creates a list of all keywords in Analytica:

index kw:= Split( EvaluateScript("list keyword")," ");
subset(kw<>"")

See Also

Comments


You are not allowed to post comments.