SlideShare a Scribd company logo
Hello World Pascal Tutorial Nova Southeastern University Cristal Ber ó n-Locke
  Obtaining the Software Object Pascal is included on the disk that comes with  Learn Pascal with Delphi , written by Warren Rachele. The book can be purchased for $49.95 from  www.barnesandnoble.com .  (ISBN 1-55622-719-1)
Before you begin to install, make sure that you exit all windows programs that are currently running.
Installing the Software Place the disk into the CD-Rom drive (in many cases it is the D drive, however this may vary depending on the computer you are using). Sometimes the program will begin the installation process on its own. If this happens, skip steps 3, 4, & 5. Instead, go to step 6.
Double click on  My Computer  on your desktop
Double click on the  Object Pascal  icon, which should be the same icon as your CD-ROM drive.
Double click on  install.exe .
A blue screen will appear and on the left side there will be a message telling you to select a product to install.
Click on the  Next  button to continue.
Read the Software License Agreement and click on  Yes  to continue.
Click on  Next  to continue.
Choose the  Typical  installation and then click  Next .  After Object Pascal has been installed, restart your computer.
Starting the Program Click on the  Start  button on the lower left hand side of your screen.  Go to  Programs , then to Delphi, and finally click on Delphi 5.
The program will begin and a screen will appear like the one below.
Building a Template Click on the x on the upper right hand corner of the Form 1 window.
Close the Unit1.pas screen by clicking on the x in the upper right hand corner of the window. When asked if you want to save the changes made, click  no .
Select  Project  from the Delphi 1 window and then  View Source .
A window will appear titled project project1.dpr. Delete all of the text in that window and type the following. program  template; begin end.
Click on  File  and then  Save Project As  from the menu at the top of the screen.
Name the file  template  and leave the extension as .dpr.
Click on  Project  and then  Options  from the menu.
Click on the tab called  Linker . Click on the square that says  Generate  c onsole application . Click on  OK .
Click on  Project  and then  Add to Repository  from the menu at the top of the screen.
Type in under  Title :  Console Application Type under  Description :  Template for console application Type under  Page :  Projects Type under  Author :  Your Name
Now in order to confirm that all of the steps have been performed successfully, click on  File  and then  Close All  from the menu. Select  yes  to save changes.
Click on  File  and then  New  from the menu to bring up the  New Items  window. Click on the tab named  Projects , click on  Console Applications , and then click  OK . You are now ready to begin programming!
Hello World Program Type the following into your template window: program  helloworld; begin writeln (‘Hello World!’); writeln (‘This is my first Pascal program.’); readln; end.
Click on  Run  and then  Run  from the menu at the top of the screen.
Your first program will run on a DOS based screen. In order to exit the program, hit any key.
Saving Your Program After all of that work, I have to assume you want to save your work of art!  Saving your work is important so that you will not have to start over when you return.
Click on  File  and then  Save Project As  from the menu at the top of the screen.
A small  Save As  screen will open. It is waiting for further instructions on what you want to name your design. Type  helloworld  in the  File  n ame:  box.
Learn More Delphi Object Pascal has a built in Quick Start Tutorial that can be accessed from the  Help  drop down menu at the top of the screen.  The tutorial is easy to follow and will guide you on how to create more programs. It will also give you a few more commands that you can try on in your own programs.
Contact Information Cristal Locke can be contacted through e-mail at  [email_address]  or through  http://tucker.dade.k12.fl.us/classrooms/Locke/gifted. htm This tutorial was created on February 10, 2002.
More Important Have fun trying new programs.  More codes can be found and downloaded at: http://www.dickmann.org/ http://www.negifreebee.com/nfbfprg.html Maybe one day I will be purchasing one of your home-made programs!

More Related Content

PPTX
Jsp myeclipse
DOCX
How to install adobe dreamweaver step by step with pictures
PDF
How to install adobe dreamweaver 4
DOCX
Posting PowerPoint to Blogger.com via slideshare.net
PPT
How To Install Photoshop Cs3
PPTX
Publish Your App/Game
PPTX
Google Drive: How to edit or view documents in offline mode
PPT
Comment telecharger videos
Jsp myeclipse
How to install adobe dreamweaver step by step with pictures
How to install adobe dreamweaver 4
Posting PowerPoint to Blogger.com via slideshare.net
How To Install Photoshop Cs3
Publish Your App/Game
Google Drive: How to edit or view documents in offline mode
Comment telecharger videos

What's hot (20)

PPT
TK Online Evaluation
PPT
Evaluation Instructions Ppt
PPTX
Steps to Fix “Something Happened” Error Message in Windows 10 Upgrade
PPTX
How to capture screen images
PDF
Fix Google Chrome Crashes
PDF
Getting started-guide-scratch2
PPT
My First Android Application
PDF
Create Screenshots on Windows 8 Using Snipping Tool
PPSX
How to Edit Windows Host File on Windows 7 PC
PPT
Installing a new software.41to42
PPTX
Google Safe Mode Faster Browsing without Addons
PPTX
Publish a Windows 10 Game with Construct 2
PPT
Rich Internet Applications (RIA) Web Testing
PDF
H5P Start up workshop session 02
PPTX
Make chrome your home base July 2020
DOC
Setup AppInventor
PDF
H5P Start up workshop session 01
PPT
Unit21 AO6
PDF
Dropbox Tutorial
DOCX
Editing log
TK Online Evaluation
Evaluation Instructions Ppt
Steps to Fix “Something Happened” Error Message in Windows 10 Upgrade
How to capture screen images
Fix Google Chrome Crashes
Getting started-guide-scratch2
My First Android Application
Create Screenshots on Windows 8 Using Snipping Tool
How to Edit Windows Host File on Windows 7 PC
Installing a new software.41to42
Google Safe Mode Faster Browsing without Addons
Publish a Windows 10 Game with Construct 2
Rich Internet Applications (RIA) Web Testing
H5P Start up workshop session 02
Make chrome your home base July 2020
Setup AppInventor
H5P Start up workshop session 01
Unit21 AO6
Dropbox Tutorial
Editing log
Ad

Viewers also liked (20)

PDF
Records c2
PPTX
Pascal
PPTX
Pascal Programming Language
PDF
Pascal tutorial
PDF
Sets c1
PPTX
Files c3
PDF
Programming paradigms c1
PDF
After 55 facebook_tutorial
PDF
Facebook Privacy Settings Tutorial (2015)
PPT
Tutorial on twitter in the lmc
PPTX
Creating facebook page tutorial 2014
PPT
Facebook Timeline Tutorial by Leapdog
PPTX
Facebook Tutorial Video
PPTX
Facebook Privacy Setting Tutorial
PPT
Tutorial on Twitter
PDF
Facebook tutorial
PDF
PilotLabs IBS - Facebook analysis rankings
PDF
Facebook Usage Stats
PDF
Infographic: UK social media usage - Facebook
PDF
Facebook privacy setting
Records c2
Pascal
Pascal Programming Language
Pascal tutorial
Sets c1
Files c3
Programming paradigms c1
After 55 facebook_tutorial
Facebook Privacy Settings Tutorial (2015)
Tutorial on twitter in the lmc
Creating facebook page tutorial 2014
Facebook Timeline Tutorial by Leapdog
Facebook Tutorial Video
Facebook Privacy Setting Tutorial
Tutorial on Twitter
Facebook tutorial
PilotLabs IBS - Facebook analysis rankings
Facebook Usage Stats
Infographic: UK social media usage - Facebook
Facebook privacy setting
Ad

Similar to Hello world pascal tutorial (20)

PDF
Pascal tutorial
PPT
Programming For As Comp
PPT
Programming For As Comp
PDF
Delphi L01 Intro
PDF
ObjectPascalHandbook_SydneyVersion_Complete.pdf
PDF
[Gary entsminger] turbo_pascal_for_windows_bible(book_fi.org)
PDF
Borland Delphi - Delphi Programming Language Guide
PDF
codeblocks-instructions.pdf
PDF
Apple IIgs Programming (K Fest)
PDF
Application Development | Delphi Review 2009
PPT
Pascal Programming Session 1
PDF
Download full ebook of Delphi 2005 Borland Software Corporation instant downl...
PPT
starting_pascal_programming_for_beginner
PDF
How to work with code blocks
DOC
Nota programming
DOC
Notacd07
PDF
Programming Part 01
PDF
PDF
Notacd071
DOCX
64-bit Assembly language program to Accept and display numbers.docx
Pascal tutorial
Programming For As Comp
Programming For As Comp
Delphi L01 Intro
ObjectPascalHandbook_SydneyVersion_Complete.pdf
[Gary entsminger] turbo_pascal_for_windows_bible(book_fi.org)
Borland Delphi - Delphi Programming Language Guide
codeblocks-instructions.pdf
Apple IIgs Programming (K Fest)
Application Development | Delphi Review 2009
Pascal Programming Session 1
Download full ebook of Delphi 2005 Borland Software Corporation instant downl...
starting_pascal_programming_for_beginner
How to work with code blocks
Nota programming
Notacd07
Programming Part 01
Notacd071
64-bit Assembly language program to Accept and display numbers.docx

More from Serghei Urban (20)

PDF
инт тех до_ пособие
PDF
Java script
PDF
Bobrovckii
RTF
Boyicev o. zashiti_svoyi_kompyuter_n
PDF
Revista 03.didactica pro
PDF
крис касперски компьютерные вирусы изнутри и снаружи [2006, rus]
PDF
Moodle!7
PDF
A basic english grammar exercises
PDF
Boyicev o. zashiti_svoyi_kompyuter_n.a4
PPT
Tice usb 1
PDF
Win server
PDF
Modernizarea standardelor
PDF
Cinci probleme fundamentale
PDF
книга с++
PDF
Evaluarea formativă
PDF
Cristian frasinaru curs-practic_de_java
PDF
Exercises in modern english grammar
PDF
Evaluarea rezultatelor scolare revista 33 34
DOC
Algoritmi
PDF
17 ru informatica corlat
инт тех до_ пособие
Java script
Bobrovckii
Boyicev o. zashiti_svoyi_kompyuter_n
Revista 03.didactica pro
крис касперски компьютерные вирусы изнутри и снаружи [2006, rus]
Moodle!7
A basic english grammar exercises
Boyicev o. zashiti_svoyi_kompyuter_n.a4
Tice usb 1
Win server
Modernizarea standardelor
Cinci probleme fundamentale
книга с++
Evaluarea formativă
Cristian frasinaru curs-practic_de_java
Exercises in modern english grammar
Evaluarea rezultatelor scolare revista 33 34
Algoritmi
17 ru informatica corlat

Recently uploaded (20)

PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
master seminar digital applications in india
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Presentation on HIE in infants and its manifestations
PDF
Computing-Curriculum for Schools in Ghana
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Cell Types and Its function , kingdom of life
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
STATICS OF THE RIGID BODIES Hibbelers.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Final Presentation General Medicine 03-08-2024.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
master seminar digital applications in india
Final Presentation General Medicine 03-08-2024.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Presentation on HIE in infants and its manifestations
Computing-Curriculum for Schools in Ghana
Microbial disease of the cardiovascular and lymphatic systems
Anesthesia in Laparoscopic Surgery in India
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Cell Types and Its function , kingdom of life
Microbial diseases, their pathogenesis and prophylaxis
VCE English Exam - Section C Student Revision Booklet
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

Hello world pascal tutorial

  • 1. Hello World Pascal Tutorial Nova Southeastern University Cristal Ber ó n-Locke
  • 2. Obtaining the Software Object Pascal is included on the disk that comes with Learn Pascal with Delphi , written by Warren Rachele. The book can be purchased for $49.95 from www.barnesandnoble.com . (ISBN 1-55622-719-1)
  • 3. Before you begin to install, make sure that you exit all windows programs that are currently running.
  • 4. Installing the Software Place the disk into the CD-Rom drive (in many cases it is the D drive, however this may vary depending on the computer you are using). Sometimes the program will begin the installation process on its own. If this happens, skip steps 3, 4, & 5. Instead, go to step 6.
  • 5. Double click on My Computer on your desktop
  • 6. Double click on the Object Pascal icon, which should be the same icon as your CD-ROM drive.
  • 7. Double click on install.exe .
  • 8. A blue screen will appear and on the left side there will be a message telling you to select a product to install.
  • 9. Click on the Next button to continue.
  • 10. Read the Software License Agreement and click on Yes to continue.
  • 11. Click on Next to continue.
  • 12. Choose the Typical installation and then click Next . After Object Pascal has been installed, restart your computer.
  • 13. Starting the Program Click on the Start button on the lower left hand side of your screen. Go to Programs , then to Delphi, and finally click on Delphi 5.
  • 14. The program will begin and a screen will appear like the one below.
  • 15. Building a Template Click on the x on the upper right hand corner of the Form 1 window.
  • 16. Close the Unit1.pas screen by clicking on the x in the upper right hand corner of the window. When asked if you want to save the changes made, click no .
  • 17. Select Project from the Delphi 1 window and then View Source .
  • 18. A window will appear titled project project1.dpr. Delete all of the text in that window and type the following. program template; begin end.
  • 19. Click on File and then Save Project As from the menu at the top of the screen.
  • 20. Name the file template and leave the extension as .dpr.
  • 21. Click on Project and then Options from the menu.
  • 22. Click on the tab called Linker . Click on the square that says Generate c onsole application . Click on OK .
  • 23. Click on Project and then Add to Repository from the menu at the top of the screen.
  • 24. Type in under Title : Console Application Type under Description : Template for console application Type under Page : Projects Type under Author : Your Name
  • 25. Now in order to confirm that all of the steps have been performed successfully, click on File and then Close All from the menu. Select yes to save changes.
  • 26. Click on File and then New from the menu to bring up the New Items window. Click on the tab named Projects , click on Console Applications , and then click OK . You are now ready to begin programming!
  • 27. Hello World Program Type the following into your template window: program helloworld; begin writeln (‘Hello World!’); writeln (‘This is my first Pascal program.’); readln; end.
  • 28. Click on Run and then Run from the menu at the top of the screen.
  • 29. Your first program will run on a DOS based screen. In order to exit the program, hit any key.
  • 30. Saving Your Program After all of that work, I have to assume you want to save your work of art! Saving your work is important so that you will not have to start over when you return.
  • 31. Click on File and then Save Project As from the menu at the top of the screen.
  • 32. A small Save As screen will open. It is waiting for further instructions on what you want to name your design. Type helloworld in the File n ame: box.
  • 33. Learn More Delphi Object Pascal has a built in Quick Start Tutorial that can be accessed from the Help drop down menu at the top of the screen. The tutorial is easy to follow and will guide you on how to create more programs. It will also give you a few more commands that you can try on in your own programs.
  • 34. Contact Information Cristal Locke can be contacted through e-mail at [email_address] or through http://tucker.dade.k12.fl.us/classrooms/Locke/gifted. htm This tutorial was created on February 10, 2002.
  • 35. More Important Have fun trying new programs. More codes can be found and downloaded at: http://www.dickmann.org/ http://www.negifreebee.com/nfbfprg.html Maybe one day I will be purchasing one of your home-made programs!