Search
 
SCRIPT & CODE EXAMPLE
 

PASCAL

pascal pause

Program PauseUntilKey;

Begin
    writeln('Press any key to continue...');
    
    readln();      //pause program until any key is pressed
    
    writeln('Program Resumed!');
End.
Comment

wait in pascal

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
Comment

PREVIOUS NEXT
Code Example
Pascal :: while do in pascal 
Pascal :: array pascal 
Pascal :: contoh dasar pascal 
Pascal :: pascal cheat sheet for programmers 
Powershell :: takeown command 
Powershell :: Download attachment from Jira task to local filesystem 
Gdscript :: godot close game 
Gdscript :: godot 
Clojure :: clojure 
Abap :: Full screen ALV create with CL_GUI_ALV_GRID class 
Erlang :: tcp client erlang 
Assembly :: javafx fxml loader example 
Assembly :: multiply two numbers assembly lmc 
Assembly :: vba concatenate strings and integer 
Assembly :: links in markdown 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery add disabled to button 
Javascript :: jquery run code after 5 seconds 
Javascript :: use jquery 
Javascript :: vimeo playback speed 
Javascript :: Basic JavaScript: Use Recursion to Create a Range of Numbers 
Javascript :: vuex-module-decorators rawError globally 
Javascript :: autoplay owl carousel 
Javascript :: how to get element by title js 
Javascript :: check ip json 
Javascript :: shadow elevation react native 
Javascript :: javascript capitalize string 
Javascript :: remove all options from select jquery 
Javascript :: swiper.js cdn 
Javascript :: angular go to route 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =