User_Library - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

#USER_LIBRARY

Name:
#USER_LIBRARY
Syntax:
#USER_LIBRARY "<User Library Name>"
Description:
Directs the compiler to include code from a User written library. The module name
specified is the User Library Filename without the USL extension that is used by User
Libraries. Pathnames are not allowed as the USL modules are stored in the User
SIMPL+ path (refer to Edit | Preferences | Paths in SIMPL Windows). User libraries
can be created by saving a SIMPL+ module as type SIMPL+ library, instead of the
default type SIMPL+ file.
Example:
#USER_LIBRARY "My Functions"
Directs the compiler to include the User Library "My Functions.USL" from the User
SIMPL+ directory.
Version:
SIMPL+ Version 3.00 - Global variables can no longer be declared within User
Library (.usl) files.
SIMPL+ Version 2.00
Software
®
SIMPL+
43

Advertisement

Table of Contents
loading

Table of Contents