diag testScriptSimpleVM: Difference between revisions

From Bohemia Interactive Community
(Page creation)
 
m (Fix)
 
Line 16: Line 16:
|p1= code: [[Code]] - the code to process
|p1= code: [[Code]] - the code to process


|r1= [[String]]
|r1= [[Array]]


|x1= <sqf>
|x1= <sqf>

Latest revision as of 21:27, 12 June 2025

Hover & click on the images for description
Only available in Diagnostic/Profiling branch(es).

Description

Description:
Outputs the provided SQF code's end code.
Groups:
DiagnosticPerformance Profiling

Syntax

Syntax:
diag_testScriptSimpleVM code
Parameters:
code: Code - the code to process
Return Value:
Array

Examples

Example 1:
private _result = diag_testScriptSimpleVM { leader _x == _x && { alive _x && { not captive _x } } }; hint str _result; /* ["Success", 360, " 0000:const any 0010:unary leader (variants 3) 0060:const any 0070:binary == (variants 2) 00C8:jmpIfFalse 0160 00D8:const any 00E8:unary alive (variants 1) 0108:jmpIfFalse 0160 0118:const any 0128:unary captive (variants 1) 0148:unary not (variants 1) 0160:ret(implicit) "] */

Additional Information

See also:
Arma 3: Diagnostics Exe Performance Profiling

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