Next Previous Contents

8. Loading and Evaluation of S-Lang Code Functions

8.1 _autoload

Synopsis
_

autoload

Usage

Void _autoload (String fun, String fn, ..., Integer n);

Description

The _autoload function is like the autoload function except that it takes n pairs of function name (fun) / filename (fn) pairs. For example,

        _autoload ("fun_a", "file_a", "fun_b", "file_b", 2);
is equivalent to
        autoload ("fun_a", "file_a");
        autoload ("fun_b", "file_b");
See Also

autoload

8.2 evalbuffer

Synopsis

evalbuffer

Usage

Void evalbuffer ();

Description

This function causes the current buffer to be sent to the S-Lang interpreter for evaluation. If an error is encountered while parsing the buffer, the cursor will be placed at the location of the error.

See Also

evalfile

8.3 get_jed_library_path

Synopsis

get_jed_library_path

Usage

String get_jed_library_path ();

Description

This function returns the current search path for jed library files. The path may be set using the function set_jed_library_path.

See Also

set_jed_library_path

8.4 set_jed_library_path

Synopsis

set_jed_library_path

Usage

Void set_jed_library_path (String p);

Description

This function may be used to set the search path for library files. Its parameter p may be a comma separated list of directories to search. When the editor is first started, the path is initialized from the JED_ROOT, or JED_LIBRARY environment variables.

See Also

get_jed_library_path


Next Previous Contents