I do admit I've forgotten what the point of this was, since this thread was
about SLEEP and NAP.

That said, you are correct- the oconv conversion was not valid, so the
original string was returned.

Because UV can show time() and system(12) in milliseconds (system
dependent), it would seem to not need a mask for milliseconds.




On Wed, Jan 2, 2013 at 9:16 PM, Wjhonson <[email protected]> wrote:

>
>  Yes like I said the Oconv using MMHSM doesn't do anything.
> Your output 75575.6608 of the place TIME() is unchanged
> So what's MMHSM supposed to be doing?
> Because it's not changing the output at all
>
>
>
>
>
>
> -----Original Message-----
> From: LeRoy Dreyfuss <[email protected]>
> To: U2 Users List <[email protected]>
> Sent: Wed, Jan 2, 2013 6:10 pm
> Subject: Re: [U2] Sleeping in Basic
>
>
> Top.
> *--: P
> 001: X = TIME()
> 002: Y = SYSTEM(12)
> 003: A = ICONV(X,'MM')
> 004: B = ICONV(Y,'MM')
> 005: PRINT X,A
> 006: PRINT Y,B
> 007: L = OCONV(X,'MMHSM')
> 008: M = OCONV(Y,'MMHSM')
> 009: PRINT L,M
> Bottom.
> *--: I
> *--: FIBR
> Filed "TEST.TIME" in file "BP".
> Compiling: Source = 'BP/TEST.TIME', Object = 'BP.O/TEST.TIME'
> *
>
> Compilation Complete.
> 75575.6608          7557566
> 75575.6608          7557566
> 75575.6608          75575.6608
> >
>
> This is 11.1.9 on Linux.
>
>
> On Wed, Jan 2, 2013 at 9:06 PM, Wjhonson <[email protected]> wrote:
>
> > On Universe 11, OCONVing it as you suggested just returns the exact same
> > result as the plain TIME() function without any conversion.
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: LeRoy Dreyfuss <[email protected]>
> > To: U2 Users List <[email protected]>
> > Sent: Wed, Jan 2, 2013 6:02 pm
> > Subject: Re: [U2] Sleeping in Basic
> >
> >
> > Don't ICONV it. Use OCONV.
> >
> > ex: OCONV(TIME(),'MMTHS')
> >
> >
> > On Wed, Jan 2, 2013 at 7:54 PM, Wjhonson <[email protected]> wrote:
> >
> > > The 'MM' conversion works with the TIME() (which returns milliseconds)
> > > on Universe 11
> > >
> > > but for some reason is cutting off the display to only *hundredths* of
> a
> > > second, instead of the thousandths which the milliseconds counts.
> > >
> > > So TIME() shows 60814.304
> > > but ICONV(TIME(),'MM') shows 6081430
> > >
> > > without the trailing 4 milliseconds.
> > >
> > _______________________________________________
> > U2-Users mailing list
> > [email protected]
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> >
> >
> > _______________________________________________
> > U2-Users mailing list
> > [email protected]
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> >
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
>
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to