Table of Contents

Method GetValue

Namespace
OpenCAD2D.Lisp
Assembly
OpenCAD2D.Core.dll

GetValue(string)

Gets the value of a symbol.

public object GetValue(string name)

Parameters

name string

The name, in either case.

Returns

object

The value: an int, a double, a string, a LispSymbol, a LispCons list, a LispFunction; null for nil or a symbol with no value.

Exceptions

ArgumentNullException

Thrown when the name is null.