The original version was written entirely in language assembly, while the successive version, from dBase III, was written entirely in language C.
Google
Perhaps ASSIST was written in the same language?
Keep in mind that in ASSIST it works WITHOUT any key pressed... The watch works from the beginnig [ponder]
Definitely, it must be written in other language.
...but the clock stopped working when the option question appeared...
If the option appears, it means that, for some reason, has left the DO WHILE. I don't know, I would have to watch the program or know more about Foxpro.
You gave me the clue when you said "...be activated once when you run...
Good Day,
Next, I show how I inserted it into a program that I use frequently:
CLEAR
option=' '
set color to n+/b
@ 24,1 say 'Date:'
@ 24,6 say date()
@ 24,65 say 'Hour:'
set color to gr+/r
@ 24,30 say ' Press any to Start '
store 0 to ab,ac,ad,cd,ct...
If you notice any "flickers" in the time, add the following:
*
store 0 to ab,ad,ac,cd,CT && preparing the varibles to be used
waa=' '
*
clear
DO WHILE .T.
if ad=0
do while ac=ab
ab=ab+1
enddo
if ac=ab-1
store substr(time(),1,8) to waa...
I did it (without dBase V), of corse, with adding some stuff (how to stop)
*DO.PRG
*
store 0 to ab,ad,ac,cd && preparing the varibles to be used
waa=' '
*
clear
DO WHILE .T.
if ad=0
do while ac=ab
ab=ab+1
enddo
if ac=ab-1
store...
AAh... that's why I asked for VALID.
I don't know Clipper, I used it only to compile programs written in dBase.
For example:
CLIPPER C:\PERSONNEL.PRG
PLINK86 FI PERSONNEL
"When the updates were released Ashton Tate would list the new commands/functions with descriptions and examples.
This is what normally happens when updates are released for any software."
OK this is known, but this does not answer my concerns, nor the fact of the dates.
Ashton Tate knew...
I anticipate that I am not sure of Joe's demands.
The DO WHILE loop is set to not accept inputs other than "TbBN", to avoid exiting the loop when an invalid key is pressed (modifiable).
The end of the DO CASE is done for convenience in case you want to continue typing or you want to exit...
Thank you for the dates.
Anyway, the books I have were printed BEFORE any of those occasions (1977).
How can you be so sure a piece of dBase V was added if you don't even know the code? Do you imagine?
Can you prove it?
My version:
CLEAR ALL
CLEAR
SET TALK OFF
USE BLACK
bwcheck = " " && assign a blank value
OPTION = " " && assign a blank value
@ 7,1 SAY 'Only characters "T,b,B,N" will be accepted'
DO WHILE .NOT. OPTION $ 'TbBN'
@5,15 SAY 'BWCHEK: ' GET BWCHECK
READ
DO CASE
CASE bwcheck...
Here I have a couple of old (used) books from the "Qsborne / McGraw-Hill", both original from 1977, and in any of them, specifically in Using dBase III Plus, the famous clock already appears on the ASSIST page.
In 1977?
I have no idea when dBase V came out, but surely AFTER dBase III, dBase IV...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.