Table of Contents

Method Read

Namespace
OpenCAD2D.Lisp
Assembly
OpenCAD2D.Core.dll

Read(string)

Reads the first form of the text, as (read text) does.

public object Read(string text)

Parameters

text string

The text.

Returns

object

The form: a list, a symbol, a number, a string; null for nil or for text with nothing in it.

Exceptions

ArgumentNullException

Thrown when the text is null.

LispException

Thrown for a reader error: malformed list on input, extra right paren on input, and the others of AutoCAD.