EAGLE Help

#require


Over time it may happen that newer versions of EAGLE implement new or modified User Language features, which can cause error messages when such a ULP is run from an older version of EAGLE. In order to give the user a dedicated message that this ULP requires at least a certain version of EAGLE, a ULP can contain the #require directive. The syntax is
#require version
The version must be given as a real constant of the form
V.RRrr
where V is the version number, RR is the release number and rr is the (optional) revision number. For example, if a ULP requires at least EAGLE version 4.11r06 (which is the beta version that first implemented the #require directive), it could use
#require 4.1106

Index Copyright © 2005 CadSoft Computer GmbH