WinScript Live Command Reference
Page 85
W
inS
cr
ipt
Ref
er
en
ce
Data2's "Format String" is made up of placeholders that indicate where and how the variables in
Data3-DataN should be inserted. The table below shows what % character should be used to
format the string. In general, %s will work for most cases.
Formatted String
Variable Type to
Insert
%
Description
String, Display String
%s
Inserts the text in string format. Hex characters are
converted into ASCII printable characters like "h0D".
Timecode
%s
Inserts time in the format "00:00:02.01"
Timecode
%d
Inserts the number of frames – ie: 61
Integer
%d
Inserts number without leading zeros or spaces. To add
leading zeros, use %0nD where "0" indicates to pad
with zeros and "n" is number of zeros to pad. For
example: %03d will insert the number 2 as 002.
Integer
%X
Inserts the number as a hex string. For example, the
number 11 would be inserted as 0B.
Integer
%p
No conversion to ASCII will be made, and the number
will be placed in the string. For example, the number
13 (hex 0D) will be inserted as a Hard Return.
Decimal
%f
Inserts one decimal place OR number of places
specified after "." preceding "f". For number 1.12345,"
%.1f" inserts 1.1. "%.2f" inserts 1.12. "%.4f" inserts
1.1234.
Boolean
%s
"true" or "false" will be printed
Boolean
%d
"1" or "0" will be printed
Date/Time
%s
Inserts in the format: month/day/year hours:minutes
Percent
%s
Inserts string including % character. ie: 100%
Percent
%f
Inserts decimal percentage, shows 25% as .25
Example:
Displays a warning message including lamp hours
Summary of Contents for V16Pro
Page 1: ...V Series Network Controllers Alcorn McBride January 3 2018 User s Guide...
Page 48: ......
Page 64: ......
Page 86: ......
Page 91: ...V16Pro Page 91 V16Pro...
Page 114: ......
Page 118: ...VCore Page 118 VCore Figure 11 Front View Figure 12 Rear View...
Page 119: ...VCore Page 119 VCore Figure 13 Top View Figure 14 Bottom View...
Page 138: ......
Page 172: ......