Difference between revisions of "comment"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
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

Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

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

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

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section