SeanUK
April 21, 2013, 10:26pm
1
I have added two Custom Screen Objects Remaining Ramp & EOF Warning.
when I look at it in the config programme
Remaining Ramp - 00:00.00
Text format: nn:ss:zz
EOF Warning 00.00
Text format: ss.zz
But when in mAirList the last .00 (text format zz) shows up as 000 is there a way just to show the zz format in just two numbers and not three.
Hello-
I’m not sure exactly the question you’re asking. Are you talking about truncating? If so, add the symbol “!” (without quotes) where you wish to truncate. Hope that helps.
Cheers, Alec M
SeanUK
April 23, 2013, 3:27pm
3
The intro and EFO have this layout
00 (nn) 00(ss)000(zz)
instead of three zeros I want two
Torben
April 23, 2013, 8:45pm
4
z will always produce 3 digits (= milliseconds). Try u for one digit, or v for two digits.
These format specifiers are not in the original Delphi FormatDateTime definition, they are special to mAirList.
Cad
April 23, 2013, 11:34pm
6
Hmmm … v must be relatively new?
It’s not in Table 7.2 on page 44 of the manual (unlike u and zzz ).
Also, I wasn’t aware that z works the same as zzz !
sigh<
–
BFN
Cad
Torben
April 24, 2013, 7:48am
7
According to git, these format specifiers were added to the code on June 27, 2008 - not so recently.
I was surprised to learn that Delphi doesn’t really care how many z characters you put into the strings, it always turns out as 3 digit milliseconds.