User Tools

Site Tools


tutorials:pascal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:pascal [2024/06/20 05:01]
papa [Additional Information]
tutorials:pascal [2024/06/20 05:10] (current)
papa [Hello, World!]
Line 22: Line 22:
 (* Hello program in Pascal *) (* Hello program in Pascal *)
  
-program Hello(Output);+program Hello (Output);
 begin begin
- writeln('Hello, World!');+ writeln ('Hello, World!');
 end. end.
 </code> </code>
Line 40: Line 40:
 </code> </code>
  
-<sup>*</sup> Syntax of the EXECUTE command is ''EXECUTE //filename//[.//extension//]''. The file extension is optional if you used the standard source file extension (.PAS for Pascal) and there are no other program source files with the same name in your default directory. +  * Syntax of the EXECUTE command is ''EXECUTE //filename//[.//extension//]''. The file extension is optional if you used the standard source file extension (''.PAS'') and there are no other program source files with the same name in your default directory. 
- +  * At the ''OUTPUT     :'' prompt, press ''Enter'' to direct output to your terminal.
-<sup>*</sup> At the ''OUTPUT     :'' prompt, press ''Enter'' to direct output to your terminal.+
  
 ===== Additional Information ===== ===== Additional Information =====
tutorials/pascal.1718859662.txt.gz · Last modified: 2024/06/20 05:01 by papa