bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Hour& Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
The Hour& function takes a date/time serial number and returns the hour.
 
Hour& (serial#)
 
Usage Notes
    ■ For information on serial numbers, see Serial Numbers.
 
Important
    ■ To use Hour& in the QBX environment, use the FINANCER.QLB Quick
      library. To use Hour& outside the QBX environment, link your
      program with the appropriate DTFMTxx.LIB file. Depending on the
      compiler options you chose when you installed BASIC, one or more of
      the following files will be available:
 
           Filename         Compiler options
           ════════════     ═════════════════════════════════════════════
           DTFMTER.LIB      80x87 or emulator math; DOS or OS/2 real mode
           DTFMTAR.LIB      Alternate math; DOS or OS/2 real mode
           DTFMTEP.LIB      80x87 or emulator math, OS/2 protected mode
           DTFMTAP.LIB      Alternate math; OS/2 protected mode
 
    ■ The DATIM.BI header file contains the necessary declarations for
      using Hour&.
    ■ For more information on using libraries, see "Creating and Using
      Quick Libraries" and "Using LINK and LIB" in the BASIC Programmer's
      Guide.