summaryrefslogtreecommitdiffhomepage
path: root/pascal.html.markdown
diff options
context:
space:
mode:
authorMarcel Ribeiro Dantas <ribeirodantasdm@gmail.com>2022-06-27 00:28:16 +0200
committerGitHub <noreply@github.com>2022-06-27 00:28:16 +0200
commit5d133e847846b4c8d436f7a567674c2e1df35a13 (patch)
tree7ebc7704f02ceef195a8896a80a06ed81cc12585 /pascal.html.markdown
parent27f7f03401ff747a61a912fdf73549b1788b13e1 (diff)
parent8f28c8021b8ce3cb791861ad19c41e12228d8bcd (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'pascal.html.markdown')
-rw-r--r--pascal.html.markdown12
1 files changed, 6 insertions, 6 deletions
diff --git a/pascal.html.markdown b/pascal.html.markdown
index a505a38f..9c73c456 100644
--- a/pascal.html.markdown
+++ b/pascal.html.markdown
@@ -12,7 +12,7 @@ source : [wikipedia](https://en.wikipedia.org/wiki/Pascal_(programming_language)
-to compile and run a pascal program you could use a free pascal compiler. [Download Here](https://www.freepascal.org/)
+To compile and run a pascal program you could use a free pascal compiler. [Download Here](https://www.freepascal.org/)
```pascal
//Anatomy of a Pascal Program
@@ -23,7 +23,7 @@ to compile and run a pascal program you could use a free pascal compiler. [Downl
}
//name of the program
-program learn_pascal; //<-- dont forget a semicolon
+program learn_pascal; //<-- don't forget a semicolon
const
{
@@ -31,7 +31,7 @@ const
}
type
{
- this is where you should delcare a custom
+ this is where you should declare custom
data-types
}
var
@@ -44,11 +44,11 @@ begin
{
area to declare your instruction
}
-end. // End of a main program area should required a "." symbol
+end. // End of a main program area should require a "." symbol
```
```pascal
-//declaring variable
+//When declaring variables
//you can do this
var a:integer;
var b:integer;
@@ -62,7 +62,7 @@ var a,b : integer;
```pascal
program Learn_More;
-//Lets learn about data types and their operations
+//Let's learn about data types and their operations
const
PI = 3.141592654;