echo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(45 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|ECHO]]
{{RV|type=command
[[Category:Scripting Commands ArmA|ECHO]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">''' echo ''text'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''text:''' [[String]]
|game5= arma3
|version5= 0.50


'''Type of returned value:'''
|gr1= Diagnostic


[[Nothing]]
|gr2= Broken Commands


'''Compatibility:'''
|descr= Sends any text into the debugger console or the logfile. This command is only '''present in internal version ''' not in the retail version. Use [[diag_log]] instead!


Version 2.00 required.
|s1= [[echo]]  text


'''Description:'''
|p1= text: [[String]]


Sends any text into the debugger console or the logfile.
|r1= [[Nothing]]


|x1= <sqf>echo "Text in logfile";</sqf>


'''Example''':
|seealso= [[diag_log]]
   
}}
'''echo''' "Text in logfile"

Latest revision as of 13:29, 22 May 2022

Hover & click on the images for description

Description

Description:
Sends any text into the debugger console or the logfile. This command is only present in internal version not in the retail version. Use diag_log instead!
Groups:
DiagnosticBroken Commands

Syntax

Syntax:
echo text
Parameters:
text: String
Return Value:
Nothing

Examples

Example 1:
echo "Text in logfile";

Additional Information

See also:
diag_log

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