-
Notifications
You must be signed in to change notification settings - Fork 6
require
Norbert Preining edited this page Oct 6, 2017
·
2 revisions
Requires a feature, which usually
denotes a set of module definitions. Given this command, the
system searches for a file named the feature, and read the file
if found. If the <feature>
contains ::
, they are treated as
path separators.
If a pathname is given, the system searches for a file named the pathname instead.
Related: provide
CafeOBJ> require foo::bar
would search for foo/bar.cafe
in the pathes from libpath
CafeOBJ Reference Manual (c) 2015-2018 CafeOBJ Development Team