#TIME() function
11 messages in this thread
Bill, thanks for the quick response. After I posted, I realized I should have
clarified my question. I need the 'stopwatch' to read tenths of a sec, or even
better 'twelfths' of a second. Is it possible to mathmatically 'break up' one
second by using the 'time()' function? Or is there another 'computer function'
I can tap into to make such a stopwatch? I haven't yet fully looked into the
time() function, and will do that now. (I'm still kinda new at this) BTW, Do
you think we'll be seeing a new version of AREXX? I've been 'following the
REXX trail' ( I love this language ), and am fascinated by the way REXX came to
be. I must say, I like ARexx best! If I get an 'IBM card' for my A4000, I'm
puzzled as to which way to go: 'Personal Rexx'? OS2? ( if OS2, use the
installed version, or a different one) or?? Do you have any suggestions?
Thanks, Greg.
Greg,
The TIME() function has resolution in the millisecond range when used to
measure elapsed time; you'll probably need to play with it to see whether it
will work adequately in your application.
Future versions of ARexx will depend on the course of the Amiga market. Right
now I'm waiting to see what happens to the ashes of Commodore …
-Bill
Do you have any plans to develop your unique version of Rexx for the PC
market?
-= Vance =- Image Master
Flying high on Imagine and Imagemaster R/t!
The main problem with REXX in current PC environments (i.e. Windows/DOS) is
that there's no real multitasking support, so it's hard to get multiple
applications interacting with one another. If the Amiga hadn't had good
multitasking, ARexx wouldn't have been 1/10 as useful.
REXX under OS/2 seems to be growing in acceptance, though somewhat slowly.
-Bill Hawes
Well, you may be better of with Apple's new Thread server… maybe as sort
of better interface to the current AppleScript… stuff on the Mac… But
well, Mac is also a niche market…
— Wolf Faust, Am Dorfgarten 10, 60435 Frankfurt, Germany —
Actually, under WinNT or even Chicago, they do have preemptive multitasking,
and Rexx would work fine, no? Watcom has been taking out full-page ads for
their Rexx for Windows. I think the real obstacle is Gates himself, who wants
BASIC to be the scripting language for Windows.
I remember Gates saying that you can't run a multi-tasking system on less
than 4 megs of ram. Riiiiiiiiiight… *8^)
-= Vance =- Image Master
Flying high on Imagine and Imagemaster R/t!
John,
I saw an article ages ago in which MS, in conjunction with a variety of
other software producers, had declared BASIC to be the scripting language
for Windows. Haven't seen any follow-up to it though.
Malcolm
Well,
In MSDOS6.2, you can use 'goto' and 'if' and 'end' statements in order to
make config.sys and autoexec.bat files that can work from a menu and use
different startups for different users or different purposes. THat sure
sounds like BASIC to me!
—Betty
Hi Betty,
But config.sys & autoexec.bat don't sound like Windows to me. You sure
can't do much interprocess communications at boot time. :/
Malcolm
No, but you can set up config files with menus these days, each menu item
loading only the drivers, etc., needed for that particular person or
activity – and setting them up is a lot like simple BASIC programming.
—Betty