home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
13
/
N_B_V203.ZIP
/
T_WORDS.DMO
< prev
next >
Wrap
Text File
|
1996-07-04
|
3KB
|
57 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME T_WORDS .DMO ║ by ╘════════════════─ ║ ║
│ │ ║ Don Schullian, Jr. ║ ║
│ ╘══════════════════════════╝ ║ ║
│ A license is hereby granted to the holder to use this source code in ║ ║
│ any program, commercial or otherwise, without receiving the express ║ ║
│ permission of the copyright holder and without paying any royalties, ║ ║
│ as long as this code is not distributed in any compilable format. ║ ║
│ IE: source code files, PowerBASIC Unit files, and printed listings ║ ║
╘═╤═════════════════════════════════════════════════════════════════════╝ ║
│ .................................... ║
╘═══════════════════════════════════════════════════════════════════════╝
$endif
$INCLUDE "DAS-NB02.INC"
COLOR 7,0
CLS
SetTimeFormat 0, 58 ' 12hr clock ":"
SetTimeFormat 1, 46 ' 24hr clock "." ' rem this line out next time
Tyme$ = fSYSTIME$
HS? = fSYShms?( H?, M?, S? )
PRINT USING "Hours: ## Minutes: ## Seconds: ##_.##"; H?, M?, S?, HS?
PRINT "fSYStime$ = "; Tyme$
PRINT "fSYShm$ = "; fSYShm$
PRINT
PRINT "fHMS2time$(H?,M?,S?) = "; fHMS2time$(H?,M?,S?)
PRINT "fHM2hm$ (H?,M?,S?) = "; fHM2hm$ (H?,M?)
PRINT "Time2HMS Tyme$,H?,M?,S? ="; H?, M?, S?
PRINT
Tyme?? = fTime2Word??( Tyme$ )
PRINT "fTime2Word?? ( Tyme$ ) =" ; fTime2Word?? (Tyme$)
PRINT "fTime2WordCK??( Tyme$ ) =" ; fTime2WordCK??(Tyme$)
PRINT "fHMS2Word?? (H?,M?,S?) =" ; fHMS2Word?? (H?,M?,S?)
PRINT "Word2HMS Tyme??,H?,M?,S? =" ; H?, M?, S?
PRINT "fWord2Time$ ( Tyme?? ) = "; fWord2Time$ (Tyme??)
PRINT "fWord2HM$ ( Tyme?? ) = "; fWord2HM$ (Tyme??)
PRINT "fSYSt2word??() =" ; fSYST2WORD??
PRINT
Tyme& = fTime2Long& ( Tyme$ )
PRINT "fTime2Long& ( Tyme$ ) =" ; fTime2long& (Tyme$)
PRINT "fTime2LongCK&( Tyme$ ) =" ; fTime2longCK&(Tyme$)
PRINT "fHMS2Long& (H?,M?,S?) =" ; fHMS2long& (H?,M?,S?)
PRINT "Long2HMS Tyme&,H?,M?,S? =" ; H?, M?, S?
PRINT "fLong2Time$ ( Tyme& ) = "; flong2Time$ (Tyme&)
PRINT "fLong2HM$ ( Tyme& ) = "; flong2HM$ (Tyme&)
PRINT "fSYSt2Long& () =" ; fSYST2long&
PRINT