loadFile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LOADFILE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOADFILE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LOADFILE]]


| ofpr |= Game name


<h2 style="color:#000066"> '''loadFile ''filename'''''</h2>
|1.82|= Game version
____________________________________________________________________________________________


| Return content of given filename. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''loadFile''' |= Syntax


'''filename:''' [[String]]
|p1= filename: [[String]] |= Parameter 1


'''Type of returned value:'''
| [[String]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>loadFile "myFunction.sqf"</pre> |= Example 1
____________________________________________________________________________________________


[[String]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.82'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Return content of given '''filename'''.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LOADFILE]]
 
[[Category:Scripting Commands OFP 1.96|LOADFILE]]
'''Example:'''
[[Category:Scripting Commands ArmA|LOADFILE]]
 
'''loadFile''' "myFunction.sqf"

Revision as of 00:58, 2 August 2006

Hover & click on the images for description

Description

Description:
Return content of given filename.
Groups:
Uncategorised

Syntax

Syntax:
loadFile
Parameters:
filename: String
Return Value:
String

Examples

Example 1:
loadFile "myFunction.sqf"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section