[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: U2 hide error



Carl Distefano wrote:
One thing that Editor doesn't support is omitting the separator
altogether and adding a leading zero to one-digit hours (as in "0100
hours") -- in other words, format hhmm or true Military Time.
D[F] EU=., ,; (an Ascii-32 space in the third position) doesn't
work;  remains unchanged. You can manufacture hhmm with XPL,
of course,
How? I just tried, because military time is something
I'm going to need one of these days, when I have to
keep a log of an emergency. I cannot seem to get it to
parse. Here's my code (yes, I know the SGs are badly
numbered; I was getting rattled keeping track of XS
when they're not in strict numerical order) and the
results:
XPLeNCODE v2.0
b-gin [MILTIME]
{<}SX09,{<}VA$TM{>}{>}{<}SV01,{<}PV09{>}{>}{<}SV02,:{>}{<}XS0
1,02,03,04,05{>}{<}SX03,{<}VA@01.1{>}{>}{<}SX04,{<}VA@01.2{>}
{>}{<}SX05,{<}VA@01.3{>}{>}{<}SX06,{<}VA@01.4{>}{>}{<}SX07,{<
}VA@01.5{>}{>}[GT_]SX 01 = {<}PV01{>}[cr|lf]SX 02={<}PV02{>}[
cr|lf]SX 03={<}PV03{>}[cr|lf]SX 04={<}PV04{>}[cr|lf]SX 05={<}
PV05{>}[cr|lf]SX 06={<}PV06{>}[cr|lf]SX 07={<}PV07{>}[cr|lf]
-nd
XPLeNCODE

Results:

SX 01 = 4:22 PM
SX 02=:
SX 03=4:22 PM
SX 04=
SX 05=
SX 06=
SX 07=


--
Patricia M. Godfrey
PriscaMG@xxxxxxxx