VB- Pascal

Posted by John on January 26, 2000:


I am translating a Turbo Pascal 4 program to Visual Basic. I am not a TP programmer and am having some trouble with the functions. Can anybody explain this to me. Would greatly appreciate any help.

{code snip}
GetTime(Hour, Minute, second, sec100);
S:= Second + 2
GetTime(Hour, minute,second, sec100);
Until Second = s
Inc(S);  { this is what I don't understand} 

This is part of a timing loop and I can't seam to figure out what the Inc(S) part means.

I left out the loop part, Is Inc() some sort of math function? I have not seen it used anywhere else in Pascal. Any comments will be appreciated.


Related Articles and Replies: