Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PASCAL

pascal delay

Program DelayInPascal;
uses crt;       //required for delay()

begin
    Writeln('Waiting 1 second...');
    delay(1000);
    
    Writeln('Waiting 3.5 seconds...');
    delay(3500);
    
    Write('Program ended!');
End.

//*Note: The delay() function in Pascal is in milliseconds 
//       Therefore, delay(1000) is 1 second delay
 
PREVIOUS NEXT
Tagged: #pascal #delay
ADD COMMENT
Topic
Name
5+9 =