main/load-and-return [ Functions ]

[ Top ] [ main ] [ Functions ]

Name

 load-and-return

File

 read.lsp

Description

 Reads a lisp-expression from a file, evaluates it and returns the
 result. Used when loading a comic from a saved file, e.g. (save my-comic)

Arguments

 file

Return Value

 A saved object, e.g. a comic

Synopsis

(defun load-and-return (file)

Example

(save my-comic "/home/simon/my-comic.lsp") --> t
(load-and-return "/home/simon/my-comic.lsp") --> my-comic