[futurebasic] Re: [FB] Microseconds

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2001 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Fri, 31 Aug 2001 08:34:55 +1200
>We routinely use:
>
>begin RECORD microSecRecord
>DIM hi as unsigned long,lo as unsigned long
>END RECORD
>
>TOOLBOX Microseconds (LONG) `0xA193,0x225F,0x22C8,0x2280
>dim myMS as microSecRecord
>
>in stuff here, and haven't the faintest idea what's going on in the line
>
>TOOLBOX Microseconds (LONG) `0xA193,0x225F,0x22C8,0x2280
>
>It works as bidden, of course, but there is something aesthetically
>displeasing about relying on a Mystery, at least in the practical world.
>
>Would anyone care to parse and/or illuminate that line? Perhaps the person
>or persons unknown from whom we so shamelessly stole it??



TOOLBOX Microseconds (LONG) `0xA193,0x225F,0x22C8,0x2280
means "I want to use a Toolbox routine named Microseconds. Its declaration
is inexplicably missing from the Headers file Tlbx Standard.Incl, so I have
to declare it myself, otherwise the compiler won't understand Microseconds".

For more info, see the "Toolbox" entry in the Reference Manual.

Robert P.