var.print

This command concatenates the results of one or more expressions.

Show/hideSyntax

var.print [%printing_format] expression... [/flag]

Where:

printing_format

Specifies either [ascii | binary | decimal | hex]. If none specified then the default is decimal format.

expression

Specifies an expression that is evaluated and the result is returned. You can use script variables in an expression by preceeding the name with a backslash. Script variables are for use at runtime only.

flag

Specifies an additional flag:

json

Specifies an output option to display messages in JSON format.

Show/hideExample

Example 163. var.print

var.print "Value is: " myVar1       ; Display string and myVar1
var.print myVar1 " and " myVar2     ; Display concatenated string/variables
var.print %h myVar1                 ; Display myVar1 in hexadecimal
var.print \myVar                    ; Display value of script variable

Copyright © 2010 ARM. All rights reserved.ARM DUI 0452B
Non-ConfidentialID100410