Anonymous user
Include a file: Difference between revisions
→{{header|D}}: Add Déjà Vu example
({{omit from|F Sharp}}) |
(→{{header|D}}: Add Déjà Vu example) |
||
Line 227:
To perform a textual inclusion:
<lang d>mixin(import("code.txt"));</lang>
=={{header|Déjà Vu}}==
<lang dejavu>#with the module system:
!import!foo
#passing a file name (only works with compiled bytecode files):
!run-file "/path/file.vu"</lang>
=={{header|Delphi}}==
<lang Delphi>uses SysUtils; // Lets you use the contents of SysUtils.pas from the current unit
|