eval_string

eval_string — evaluates a string.

Syntax

eval_string (string)

		

Arguments

string

A string.

Returns

The result of evaluating the string as if it were a Lisp expression.

Description

This function evaluates a string as if it were a Lisp expression, regardless of whether the file syntax is Gamma or Lisp.

Example

Gamma> eval_string("(+ 5 6)");
11
Gamma> testvalue = 75;
75
Gamma> eval_string("testvalue");
75
Gamma>