diag testScriptSimpleVM: Difference between revisions
Lou Montana (talk | contribs)  (Page creation)  | 
				Lou Montana (talk | contribs)  m (Fix)  | 
				||
| Line 16: | Line 16: | ||
|p1= code: [[Code]] - the code to process  | |p1= code: [[Code]] - the code to process  | ||
|r1= [[  | |r1= [[Array]]  | ||
|x1= <sqf>  | |x1= <sqf>  | ||
Latest revision as of 20:27, 12 June 2025
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