arxload


(arxload  filename  [ failure-expression ] )

This function loads a BRX or TX or NET module filename into BricsCAD.

Arguments

filename  the BRX or TX or NET module to be loaded

failure-expression  (optional) value or expression to be evaluated in case of an error

Return

the filename if successfully loaded;
otherwise
if failure-expression is specified, the failure-expression is returned resp. evaluated;
if failure-expression is omitted, a Lisp error is triggered

Example

(arxload "myApp.brx)  "myApp.brx"
(arxload "myApp.xxx" "NotFound")  "NotFound"

Remarks

if filename does not contain a filename extension, an existing file using the .tx ..brx arx .dll extensions is searched (in that sequence)
loading a NET module using .dll extension is supported;
searching for a file uses the standard findfile logic



©  Bricsys NV. All rights reserved.