echo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.00


|1.00|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Sends any text into the debugger console or the logfile. Present in internal version only, not working in the retail version. |DESCRIPTION=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| '''echo''' text |SYNTAX=
|game4= tkoh
|version4= 1.00


|p1= text: [[String]] |PARAMETER1=
|game5= arma3
|version5= 0.50


| [[Nothing]] |RETURNVALUE=
|gr1= Diagnostic
____________________________________________________________________________________________
 
|x1= <pre>echo "Text in logfile"</pre> |EXAMPLE1=
____________________________________________________________________________________________


| [[diag_log]] |SEEALSO=
|gr2= Broken Commands


}}
|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!
 
|s1= [[echo]]  text


<h3 style="display:none">Notes</h3>
|p1= text: [[String]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Nothing]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>echo "Text in logfile";</sqf>


[[Category:Scripting Commands|ECHO]]
|seealso= [[diag_log]]
[[Category:Scripting Commands ArmA|ECHO]]
}}
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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