comment: Difference between revisions

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


| ofp |= Game name


<h2 style="color:#000066"> '''comment ''comment'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Define a comment. Mainly used in [[functions]], as you're able to introduce comment lines with semicolons in [[scripts]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''comment''' comment |= Syntax


'''comment:''' [[String]]
|p1= comment: [[String]] - the comment that you'd like to write here |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>comment"This is a commented line"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


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


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


Do nothing, used to insert comments.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|COMMENT]]
'''Example:'''
[[Category:Scripting Commands OFP 1.96|COMMENT]]
 
[[Category:Scripting Commands ArmA|COMMENT]]
'''comment''' "This is a comment"

Revision as of 23:59, 1 August 2006

Hover & click on the images for description

Description

Description:
Define a comment. Mainly used in functions, as you're able to introduce comment lines with semicolons in scripts.
Groups:
Uncategorised

Syntax

Syntax:
comment comment
Parameters:
comment: String - the comment that you'd like to write here
Return Value:
Nothing

Examples

Example 1:
comment"This is a commented line"

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