Post Reply 
New to programming...help !
05-19-2015, 02:46 AM
Post: #2
RE: New to programming...help !
(05-18-2015 10:39 PM)Digitaldreams Wrote:  Tried to print ticks divided by 1000 yet get a line of zero's ?. What is wrong with the below ?. Also what is the command to print at a particular location on the screen ?.


EXPORT TEST()
BEGIN
LOCAL TIC;

PRINT();

REPEAT
TIC=TICKS();
TIC=TIC/1000;
PRINT(TIC);
UNTIL GETKEY >-1;
END;

I'm not sure why TIC=TICKS() produces a zero result. However, the following will get what I think you want:

EXPORT TEST()
BEGIN
PRINT();

REPEAT
PRINT(TICKS/1000);
UNTIL GETKEY >-1;
END;


Eddie
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New to programming...help ! - Eddie W. Shore - 05-19-2015 02:46 AM



User(s) browsing this thread: 1 Guest(s)