Include a file: Difference between revisions

no edit summary
No edit summary
Line 1:
{{task}}The task is to demonstrate the language's ability to include source code from other files.
 
=={{header|ACL2}}==
 
For files containing only events (definitions and similar; no top-level function calls) which are admissible (note the lack of file extension):
<lang Lisp>(include-book "filename")</lang>
For all other files:
<lang Lisp>(ld "filename.lisp")</lang>
 
=={{header|Ada}}==
Anonymous user