assert a load time dependency
(possibly empty) expression sequence of arguments
Important: The requires command has been deprecated.
The procedure requires is used to assert a load time dependency in a Maple library source file.
If any of the arguments passed to requires are not of type procedure or of type table, then an error is signalled. Otherwise, NULL is returned.
The purpose of this routine is to force an error to be generated if an attempt is made to load a file that depends, at load time, on some library routines that are not yet loaded into the repository.
Error, (in requires) load time requirement for int not satisfied
Error, (in requires) load time requirement for crazy_nonexistent_function_or_table not satisfied
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.