Include a file: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
(Add lang example)
Line 1,734: Line 1,734:
In LabVIEW, any VI can be used as a "SubVI" by changing the icon and wiring the terminals to the front panel. This cannot be explained concisely in code; instead, see the [http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/creating_subvis/ documentation]. =={{header|LabVIEW}}==
In LabVIEW, any VI can be used as a "SubVI" by changing the icon and wiring the terminals to the front panel. This cannot be explained concisely in code; instead, see the [http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/creating_subvis/ documentation]. =={{header|LabVIEW}}==
<syntaxhighlight lang="lasso">web_response -> include('my_file.inc')</syntaxhighlight>
<syntaxhighlight lang="lasso">web_response -> include('my_file.inc')</syntaxhighlight>

=={{header|Lang}}==
<syntaxhighlight lang="lang">
# Execute and copy variables defined in code.lang only
ln.bindLibrary(code.lang)

# Execute and copy translations defined in code.lang only
ln.link(code.lang)

# Execute and copy variables and translations defined in code.lang
ln.include(code.lang)
</syntaxhighlight>


=={{header|Lasso}}==
=={{header|Lasso}}==