0% found this document useful (0 votes)
182 views33 pages

Turbo Pascal With DOSBox User Manual

buku manual untuk penggunaan turbo pascal

Uploaded by

liza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
182 views33 pages

Turbo Pascal With DOSBox User Manual

buku manual untuk penggunaan turbo pascal

Uploaded by

liza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

Turbo Pascal (With

DOSBox) User Manual

Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.


Last Update: 6/24/2019 6:01 PM
Turbo Pascal (With DOSBox) User Manual

Table of contents

Introduction ...................................................................................................... 3
Basic Infomations ............................................................................................... 3
System Requirements ..................................................................................... 4
Getting help .................................................................................................. 4
License ......................................................................................................... 4
View Version and Documents .......................................................................... 5
Shortcut ........................................................................................................ 5
Interface ........................................................................................................... 6
Main Interface ................................................................................................ 6
Menu bar ...................................................................................................... 7
About ........................................................................................................... 9
Quick Start Guide ............................................................................................... 9
Open Turbo Pascal (With DOSBox) .................................................................. 9
Make and run my Program ............................................................................ 10
Use Turbo Pascal ............................................................................................. 11
Notes When Using Software .......................................................................... 11
New File ...................................................................................................... 12
Open file ..................................................................................................... 12
Save file ...................................................................................................... 14
Change Dir .................................................................................................. 14
Tools for programming ................................................................................. 15
Run and Complie ......................................................................................... 17
Error in Pascal ............................................................................................. 18
Clear and Refresh DOS Scrren ....................................................................... 20
Window manage .......................................................................................... 21
Use other functions ...................................................................................... 22
Exit Turbo Pascal ......................................................................................... 24
Sample in Pascal .......................................................................................... 24
Note When using a unikey with Turbo Pascal (With DOSBox) ............................ 25
Keyboard shortcut ........................................................................................ 26
Advanced Use .................................................................................................. 28
Modify and Repair ........................................................................................ 28
Directory Structure in Turbo Pascal (With DOSBox) .......................................... 31
More Help ....................................................................................................... 31
Other Infomantion ........................................................................................... 32
Item for Vietnamese language\Muc cho ngon ngu tieng viet .................................. 32
Chu y khi su dung Unikey voi Turbo Pascal (With DOSBox) ............................... 32

2 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Introduction

Turbo Pascal (With DOSBox) (TPWDB) is a free and open source compiler and
Integrated Development Environment (IDE) for Pascal language on Windows 64 Bit and
32 Bit. Using basic Pascal programming, many functions, no need to install multiple
steps and integrate some other tools.
· Features of Turbo Pascal (With DOSBox)
Runs on Windows 32/64 Bit Thanks to DOSBox
No need to install multiple steps. Easy to use
​A dd​tool​clear/refresh​screen​DOS​(Shift​+​F3)

Thank you for using our Turbo Pascal (With DOSBox)


This​userʼs​manual​is​designed​to​be​a​reference​tool​for​operation​of​your​system.​Here
you can find detailed operation information about Turbo Pascal (With DOSBox).
§ View License here (Including Third-Party License Arrgement and License
Arrgement here)
Also can be viewed by going to Start Menu of Turbo Pascal (With DOSBox) and clicking
on License or you can view in About TPWDB. or read the License.txt file that can be
accessed from the Shortcut or the directory path C:\TPWDB\Main\Documents\
§ Information about the release history, short information of the software can be
viewed at the Readme.txt file in the path C:\ TPWDB\Main\Documents\ (Can be
accessed from the Shortcut and view in About TPWDB)
§ Download the latest software releases at http://tpwdb.weebly.com
§ Copyright © 2017-2019 . Lưu​Nguyễn​Thiện​Hậu.
Turbo Pascal (With DOSBox) is free and open-source under GNU GPL. Project is
hosted at Sourceforge.
Website : http://tpwdb.weebly.com

Created with the Personal Edition of HelpNDoc: Easily create EPub books

Basic Infomations

This section includes an overview of basic information about Turbo Pascal (With
DOSBox), including the following items:
· System Requirements
· Getting help

3 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

· License
· View Version and Documents
· Shortcut
Created with the Personal Edition of HelpNDoc: Produce electronic books easily

System Requirements
These are the basic requirements for installing Turbo Pascal (With DOSBox).

Items Requirements

Windows
Windows XP SP3/7/8/8.1/10 (All In 32 and 64 bit Version)
Version

RAM 128 MB or Higher

Capacity 20 MB in Hard drive

Created with the Personal Edition of HelpNDoc: Free help authoring tool

Getting help
· You can download the manual at Turbo Pascal's homepage (With DOSBox) at:
https://tpwdb.weebly.com/support.html
· The manual download page at the home page of the software can also be accessed
here through the Visit Website button in the Options and About interface.
· For more help, see section More Help for details

Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad

License
Turbo Pascal (With DOSBox) License Arrgement
Copyright (C) 2017-2019. Lưu​Nguyễn​Thiện​Hậu
Turbo Pascal (With DOSBox) is free and open-source.
You can freely use Turbo Pascal (With DOSBox) under the terms of The GNU General
Public License.

​A bout​the​GNU​GPL​License
​ his​program​is​free​software:​you​can​redistribute​it​and/or​modify
T
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,


but WITHOUT ANY WARRANTY; without even the implied warranty of

4 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the


GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

Third-Party License Arrgement

This software uses other 3rd party software based on the specified licenses
(including open source licenses) that the author offers.

Turbo Pascal 7.0 license:

Turbo Pascal 7.0


Copyrights (C) 1983,92 Borland international

DOSBox 0.74-2 License Arrgement:


DOSBox version 0.74-2
Copyright © 2002-2018 DOSBox Team, published under GNU GPL
Created with the Personal Edition of HelpNDoc: Free HTML Help documentation
generator

View Version and Documents


You can view the version by visiting About TPWDB in the Start Menu Access
The text in the software can be viewed by going to About TPWDB or other shortcuts
Also you can view version information by going to Tools> About TPWDB ....
See Introduction and Shortcuts for details.

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor

Shortcut
Information about the shortcuts in the software is in the table below.

Name Location Describe


Turbo Pascal (With Desktop & Start Turbo Pascal (With DOSBox)
DOSBox) Program Menu
License Program View License about Software
Menu
Home Page Program Visit Website
Menu
Readme Program Short info about software and
Menu software version.
Uninstall Program Uninstall Turbo Pascal (With DOSBox)

5 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Menu
About TPWDB Program the software information, view About
Menu Window

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications

Interface

This section includes introduction of the general interface in Turbo Pascal, including the
following sections:
· Main Interface
· Menu bar
· About

Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files

Main Interface

6 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

1. Menu bar : Where to store tasks to work on Turbo Pascal, see section .... for
detailed description.
2. Window Command line Programming: Where to edit and work Pascal programming
commands in pas or inc files.
· See more items for details: Make and run my Program and Sample in Pascal
3. Name file : Where to show pas file name. The format may be <file name> .pas or
NONAMExx.pas for an unsaved or newly created file (xx is the number of the newly
created file).
· See more items for details: New File Open file and Save file
4. Staus and most command bar: Where quick command buttons are at work, the red text to

the left of each command button name is the shortcut of the command button. See
section Menu bar for details.

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications

Menu bar
The menu bar gives you access to all the features of Advanced Installer. It contains the
following sub menus: “File”, “Edit”, “Search”, “Run”, “Compile”,"Debug", "Tools,
“Options”,"Window" and “Help”.

The File bar


File management includes commands:
· Create a new file
· Save and open the file
· change the default save path
· go to the DOS interface
· Exit Turbo Pascal

The Edit Bar


Execute commands related to text and code such as Copy, cut, paste, delete text,
paragraphs, code and view clipboard
· See more items for details: Tools for programming

The Search Bar


Execute commands related to finding and replacing paragraphs and code snippets, in

7 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

addition to finding and missing Pascal programming errors.


· See more items for details: Tools for programming

The Run Bar

Perform pascal file commands and related commands.


· See more items for details:
Run and Complie
Error in Pascal

The Compile Bar


Execute commands related to pascal file execution.
· See more items for details:
Run and Complie
Error in Pascal

The Debug Bar


Execute commands related to Debug pascal, in addition to view the DOS interface when
compiling and running pascal files, see the current state of the DOS interface.

The Tools bar


Open the notification window and run the built-in tools, including the Clear and Refresh
DOS Scrren tool.

The Options Bar


Set up and customize Turbo Pascal

The Window Bar


Perform custom related commands, manage windows, arrange windows in Turbo
Pascal
· See more items for details:
Window manage

The Help Bar


Implement help using Turbo Pascal
· See more items for details:
More Help

8 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Created with the Personal Edition of HelpNDoc: Free help authoring tool

About
Since version 7.3.0, the software information can be viewed through the About
Window, this window contains information about the currently installed software
version, author, license, other information You can:
· View the license, manual, access our website and view the readme file.
To start, visit Start Menu in the "About TPWDB" section of the list of all applications
(You can search for this application with the keyword "About TPWDB"). A dialog box
appears as shown below

Created with the Personal Edition of HelpNDoc: Free help authoring tool

Quick Start Guide

This section includes a very basic user guide for Turbo Pascal beginners, including:
· Open Turbo Pascal (With DOSBox)
· Make and run my Program
For other uses, see ............. for details

Created with the Personal Edition of HelpNDoc: Free help authoring tool

Open Turbo Pascal (With DOSBox)


To launch the software, open the Turbo Pascal icon (With DOSBox) on the

9 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

desktop, or go to Start> All Apps> Turbo Pascal (With DOSBox) > Turbo Pascal (With
DOSBox) or Open File Explorer to open the software

See more items for details:


Shortcut
View Version and Documents

Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool

Make and run my Program


First to create and run the software, create a new file by going to File> New ...
Programming in Pascal code, if you don't know Pascal programming, see this example
to know in the section Sample in Pascal
When programming the Pascal file, compile the file into Compile> Compile (or press

10 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

ALT + F9). If successful, the following dialog box will appear.

When programming the Pascal file, to run the file, go to Run> Run (or press F9). If
successful, the program will run.
NOTE: in the process of compiling or running the program, if there is an error (the
compiler has an error that will not show the above dialog box), an error will be
reported , see section Error in Pascal for details.

Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad

Use Turbo Pascal

This section includes Turbo Pascal's basic usage instructions, including the following
sections:
· Notes When Using Software
· New File
· Open file
· Save file
· Change Dir
· Tools for programming
· Run and Complie
· Error in Pascal
· Clear and Refresh DOS Scrren
· Window manage
· Use other functions
· Exit Turbo Pascal
· Sample in Pascal
· Note When using a unikey with Turbo Pascal (With DOSBox)
· Keyboard shortcut
For other uses, see More Help for details.
Created with the Personal Edition of HelpNDoc: Full-featured EPub generator

Notes When Using Software


Here are some things to keep in mind when using software:

11 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

· To Compile file Pascal, Please Save File Before Use Command


(Note: Will not Compile or run File Pascal if In Programmer File Has Programming
Error, See Error In Pascal to see what the error is.)
· To Run file Pascal, Please Save File Before Use Command
(Note: Will not Compile or run File Pascal if In Programmer File Has Programming
Error, See Error In Pascal to see what the error is.)
· Do not close the window By clicking the X on the left corner of the
window you have to
go to File> Exit, if not, you can lose the file you are working on if you have
not already.
· If you get a typo in Turbo Pascal (With DOSBox), turn off the typing
support in your computer.

Created with the Personal Edition of HelpNDoc: Free EPub producer

New File
To create a new File in Turbo Pascal (With DOSBox), boot into Turbo Pascal (With
DOSBox). By default a file named NoName00.pas is available on the screen for
programming.
If you want to create a new file, go to File> New to create a new file.
Created with the Personal Edition of HelpNDoc: Free EPub and documentation
generator

Open file
If you want to open a file you have made and save it to your computer. Go to File>
Open (or press F3) to enter the open dialog box:

12 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

In the dialog box open, we select the file to open by selecting the file ending in .pas in
the Files file table, then click Open to open.
When we select the file .pas we can see the date and time of file modification, file size
(Byte unit) at the bottom of the file picker (yellow square frame in the picture).
If you want to open the file in other folders, click ...\ to view the parent folder. Click
[Folder Name]\ to open the folder
· Tips:
By default Turbo Pascal only displays the .pas file, if you want to display files other than
.pas, in the Name field, enter *.<File format to display> if you want to show the file
with the specified extension or type *.* if you want to display all file formats.
Also in this field you can enter the path if you want to enter the directory directory
quickly
To quickly open the file, double-click the file to open.
You can use the history list to re-enter text that you've already entered, click the arrow
icon to the right
If you open the file by pressing Replace, you will open the selected file and close the file
you are opening, notice if the unsaved file will have a message asking to save the file
before opening the selected file.
Note: There will be some files of the form <file name (incomplete)>~1.pas. These are
file names that exceed 7 characters. Turbo Pascal cannot display the file name correctly
but still open the file normally.

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily

13 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Save file
Save file on Turbo Pascal
If you want to save the created file, go to File> Save (you can press F2) to save the file

The file save dialog box appears, enter the file name in the Name field and click OK to
save.
Tip: If you want to reuse the file name, click the file name already in the file list table
and edit the file name and save.
To save in another folder, use the directory operation as in the file open dialog box.
If you want to overwrite the file, click the existing file name and save it, there will be a
message that you want to overwrite the existing file, select overwrite to save.
You can use the history list to re-enter text that you've already entered, click the arrow
icon to the right
Note: The file name must be no more than 7 characters (including spaces).
The section below selects the file name that will contain the date and time information
to create the file as shown in the file open dialog box.
If the file has been saved before, when you click the save button, it will save the file
changes, and if you want to save with another name, go to File> Save As ... and save
the same way as above.

Created with the Personal Edition of HelpNDoc: Easily create Qt Help files

Change Dir
If you want to change the default save path, go to File> Change Dir ...

14 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Here we change the default save path by selecting the directory in the Directory tree
(Directory Tree).
You can also enter the path in the Directory Name field
You can use the history list to re-enter text that you've already entered, click the arrow
icon to the right
Click the Chdir button to refresh the directory tree
Press the Revert button to bring back the path you changed last.
After changing click OK to save.
Note: To save as the default setting in subsequent runs, go to Options> Save ....

Created with the Personal Edition of HelpNDoc: Produce electronic books easily

Tools for programming


Turbo Pascal (With DOSBox) provides some tool functions in programming, how to use
these tools is guided below.

Cut, Copy and Paste

Turbo Pascal has a way to copy, cut and paste them in Word, but other usage
mechanisms.
· To copy a piece of text, select the original paragraph and click Edit> Copy (or press
Ctrl + Ins).
· To cut a piece of text, select the text to cut and click Edit> Cut (or press Shift +
Del).
· To create a paragraph, select the text you want to cut and click Edit> Paste (or press
Shift + Ins).

15 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Note: If you paste blank, just do the above, if you want to replace the existing text
override, select the text to overwrite and go to Edit> Delete (Or press Ctrl + Del) then
click Copy or Paste at that location.
In addition, Delete button in Edit also deletes existing text, to delete existing text,
go to Edit> Delete (Or press Ctrl + Del)

Find and Replace

· To Search for a piece of text or code, go to Search> Find ...


The search dialog box appears, I enter the code, the phrase to search in the Text to
Find input field. In addition, you can change the results, filter the search results by
adjusting options in Options, Direction. Scope and Origin (Red frame in the image).
After finishing click OK to find.
You can use the history list to re-enter text that you've already entered, click the arrow
icon to the right

· To replace a piece of text or code, go to Search> Find ...


The dialog box appears, I enter the code, the phrase to search in the Text to Find input
field and enter the replacement word in the New Text input field. Alternatively, you can
change the results, filter the search results and replace the search by adjusting the
options in Options, Direction. Scope and Origin (Red frame in the image). After
finishing, click OK to find and replace. If you click Change All will search all the search
terms and replace them all.
You can use the history list to re-enter text that you've already entered, click the arrow
icon to the right

16 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Go to line number

To find a line, go to Search> Go to line number ... and enter the line number in the
Enter New Line Number box and click OK.
You can use the history list to re-enter text that you've already entered, click the arrow
icon to the right

Find Error and go to last error

· To find the error, go to Search> Error Search and enter the error address in the
Error address box and click OK to Search. (You can use the history list to re-enter
text that you've already entered, click the arrow icon to the right).
· Go to last error is command displays the last compile-time error message at the top
of the screen and positions the cursor near where the error occured. No error
message is displayed if the last compilation was successful.

Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy

Run and Complie


When programming the Pascal file, compile the file into Compile> Compile (or press
ALT + F9). If successful, the following dialog box will appear.

17 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

When programming the Pascal file, to run the file, go to Run> Run (or press F9). If
successful, the program will run.
If you run the hidden program, you can view the output of the program by opening the
Output window.
See the DOS screen status by going to User Scrren.
If the screen is too messy, you can use the Clean / Refresh DOS Scrren tool to clear the
screen before running, so it will be better
NOTE: in the process of compiling or running the program, if there is an error (the
compiler has an error that will not show the above dialog box), an error will be
reported , see section Error in Pascal for details.

Created with the Personal Edition of HelpNDoc: Create iPhone web-based


documentation

Error in Pascal
When programming Pascal When there is a Programming Error or when the program fails,
Turbo Pascal will Report Error As shown below, the error codes and error information are
located below..

18 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

To Know About Pascal Programming Errors Or Error When Starting File,You can see the
following ways: Go to Help> Error Messages and edit the file to delete the above
programming error so that the file can be compiled.

19 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Created with the Personal Edition of HelpNDoc: Free EPub and documentation
generator

Clear and Refresh DOS Scrren


Turbo Pascal (With DOSBox) provides an important tool in programming.
It's a Clean / Refresh DOS Screen tool, which clears the text on the Dos screen, making the
screen blank if the screen gets too messy when running Pascal software multiple times.
Before Use Clean / Refresh DOS Screen tool

After Use Clean / Refresh DOS Screen tool

To run this tool go to Tools> Clean / Refresh DOS Screen (Shift + F3).

20 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications

Window manage
The Window menu contains commands for manipulating and opening windows. Most of
the windows you open from this menu have all the standard window elements, like
scroll bars, a close box, and zoom icons.

Tile, Cascade, Close All, Refresh Display, Size/Move, Zoom, Next, Previous, Close, List

· Choose Window> Tile to tile all your open Edit windows.


· Choose Window> Cascade to stack all open Edit windows.
· The Refresh Display command restores the IDE screen. This is handy if your

21 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

program has accidentally overwritten the screen.


· Choose Zoom to resize the active window to the
maximum size.
If the window is already zoomed, you canchoose this command to restore it to
itsprevious size.
You can also double-click anywhere on thewindow's title bar (except where an
iconappears), or on the Zoom box in the window'supper right corner (2), to zoom or
unzoom the window.
· Choose Next to make the next window active, which makes it the topmost open
window.
· Choose Previous to make the most-recently active window be active again.
· Choose Close to close the active window. You can also close by pressing the key in
the left corner of the window (1).
· The List command opens the Window List dialog box, which lists all the windows
currently open.
· If you press Shift while you use the arrow keys, you can change the size of the
window. When it's at the size you want, press Enter.
If a window has a Resize corner, you can drag that corner to resize the window (3).
· When you choose Window> Size/Move, the active window moves in response to the
arrow keys. Once you've moved the window to where you want it, press Enter. You
can also move a window by dragging its title bar.

Created with the Personal Edition of HelpNDoc: Produce electronic books easily

Use other functions


· The history list attached to an input box lists whatever text you typed the last few
times you used the dialog box.
You can get to the history list whenever you see a down-arrow icon to the right of an
input box.
You can use the history list to re-enter text that you've already entered. You can also
edit an entry in the history list directly.
Press Esc to exit from the history list without making a selection.

22 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

· The commands on the Debug menu control all thefeatures of the integrated
debugger. You can change default settings for these commands in the Options>
Debugger dialog box.

The Debug Bar


These are the available menu commands:
Breakpoints, Call stack, Register, Watch, Output, User screen, Evaluate/Modify, Add
Watch, Add Breakpoint
The following is the function of Output and User Scrren (Alt+F5)
Output-View DOS screen when compiling files in a window. Display the current status
that is happening on the DOS screen.

User Scrren (Alt+F5)-View the current status on the DOS screen.

23 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

The Options Bar


· The Options menu contains commands that let you view and change various default
settings in Turbo Pascal. Most of the commands in this menu lead to a dialog box.
Compiler..., Memory sizes..., Linker..., Debugger..., Directories..., Tools, Environment,
Open, Save, Save as

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents

Exit Turbo Pascal


To exit Turbo Pascal, go to File> Exit to exit
Note, if there are any unsaved files, it will notify you if it is saved before exiting
It is recommended to use this method to exit Turbo Pascal, do not use the key
combination to exit or click the X corner of the window because it will cause the file to
be saved or changed.
· See more items for details:
Keyboard shortcut
Notes When Using Software

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease

Sample in Pascal

24 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

This is an example of pascal programming

Program HelloWorld.Pas
Program HelloWorld;
uses crt;
Begin
Clrscr;
Writeln('Hello World');
Readln;
end

Inside
program Helloworld; : Program Declaration, Helloworld is the name of the Program
Uses Crt; : Library Declaration, Crt Library Name Required
Begin: Begin the command
Clrscr; Clear Screen Commands
Writeln ('Hello World'); : On Screen Display, On Screen Display ('_')
Readln; : stop the screen until the user press enter
End. End the Program
Other Commands
TextBackground (White); screen color change, color name in (_)
TextColor (White); Change screen color, color name in (_)
NOTE: All Commands Must Have; before ending the Or statement before concluding
the program declaration Or library. (Except the Begin command and other commands)

Created with the Personal Edition of HelpNDoc: Free help authoring environment

Note When using a unikey with Turbo Pascal (With DOSBox)


Note: These are articles related to Error typing Vietnamese software.
To avoid having the wrong character set when programming Pascal on Turbo Pascal
(With DOSBox) software, turn off Unicode or switch to English mode before
programming.
To switch to English mode, scroll to the right of the taskbar, find the [V] icon and press
to switch to [E]

25 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

To turn off Unikey on the Unikey interface and press the end to turn off Unikey

Created with the Personal Edition of HelpNDoc: Easily create EPub books

Keyboard shortcut
· Keyboard shortcuts In DOSBox

Shortcuts Description
CTRL-E Kill (close) DOSBox. (Warning : Please Save File Before Before closing
with this Off key, it is not recommended to use this shortcut key)
ALT-ENTER Switch to full-screen (and back). (Windows XP/Vista/7 Only)
ALT-PAUSE Pause emulation.
· Keyboard Shortcut In Turbo Pascal

Key Action
F3 Open The File Pascal
F2 Save The File Pascal
Alt+X Exit Turbo Pascal
ALT-Backspace (<-) Undo Action
SHIFT-DEL Cut
CTRL-INS Copy
SHIFT-INS Paste
CTRL-DEL Delete
CTRL-F9 Run Programs
F8 Step Over
F7 Trace Into
F4 Go to cursor
ALT+F9 Compile Program
F9 Make

26 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Shift+F2 Grep
Shift+F3 Clear/Refresh Scrren DOs
CTRL-F5 Size/Move Window
F5 Zoom Window
F6 Next Window
SHIFT+F6 Previous Window
ALT+F3 Close Window
ALT+0 List Window
· Shortcuts Other : Ctrl-F3, Alt-F5, Ctrl-F4, Ctrl-F7, .......
· Other DOSBox Shortcuts

Key
Action
ALT-ENTER
Switch to full-screen (and back).
ALT-PAUSE
Pause emulation.
CTRL-F1
Show the keymapper configuration screen,
CTRL-F4
Update cached information about mounted drives. Useful if you changed
something
on a mounted drive outside of DOSBox
. Also cycles through disk images mounted using IMGMOUNT
CTRL-F5
Save a screenshot (goes to capture folder).
CTRL-ALT-F5
Start/Stop recording of AVI video. NOTE: You may well have some problems
with
this, please see Recording Video for more information.
CTRL-F6
Start/Stop recording sound output to a wave file (goes to capture folder).
CTRL-ALT-F7
Start/Stop recording of OPL commands.(not recommended to use this shortcut
key)
CTRL-ALT-F8
Start/Stop the recording of raw MIDI commands.(not recommended to use this
shortcut key)
CTRL-F7
Decreases frameskip.

27 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

CTRL-F8
Increases frameskip.
CTRL-F10
Capture/Release the mouse (if you need to use the mouse within DOSBox).
CTRL-F11
Decrease DOSBox cycles (slows down the emulation).
CTRL-F12
Increase DOSBox cycles (speeds up the emulation)

Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator

Advanced Use

This section includes Turbo Pascal's high-performance instructions, including the


following sections:
· Modify and Repair
· Directory Structure in Turbo Pascal (With DOSBox)
For other uses, see More Help for details.

Created with the Personal Edition of HelpNDoc: Full-featured EBook editor

Modify and Repair


This article explains how to modify already installed Turbo Pascal (With DOSBox) using
Turbo Pascal (With DOSBox) Installer. We can repair Turbo Pascal (With DOSBox) using
Turbo Pascal (With DOSBox) Installer. If we missed installing in Turbo Pascal (With
DOSBox) we need not uninstall and again install. We can add directly without
uninstalling only which we have missed by Turbo Pascal (With DOSBox) Installer.

Open Turbo Pascal (With DOSBox) Installer

Choose Add or Remove Programs in Control Panel, select the program in the Add or
Remove Programs dialog box and click the Change button.

28 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

The Turbo Pascal (With DOSBox) Installer will open and then click “Yes”​button, There
are three important options we can see in the installer.
Click the sections below to see the effects and how to use the above
functions:
· Modify
· Repair
· Uninstall

Modify

Modify is used to add extra features in Turbo Pascal (With DOSBox). If we have already
installed Turbo Pascal (With DOSBox) but forgot to install any features, we can use
modify option we add new features. We do not uninstall and again re-install full Turbo
Pascal (With DOSBox).
First, click modify we can see already installed features are selected. Now, select what
are the new features need to add in Turbo Pascal (With DOSBox). we can see the
installation size for selected one in right side in Turbo Pascal (With DOSBox) Installer
Click Next button. Then click Install to start installing the selected components. We can
see the Installation Progress.
After successful, press Finish to end the process. You can already use the newly added
components.

29 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Repair

Any problem or corrupted any files in Turbo Pascal (With DOSBox) use repair to
resolve problems.
First, open Turbo Pascal (With DOSBox) Installer and click repair options which
look like below screenshot.

Then click Repair to start the repair process. The repair will take some minutes to
complete. If need to cancel repair, click Cancel to stop the repair.
After successful, press Finish to end the process.

Uninstall

We can uninstall Turbo Pascal (With DOSBox) using Turbo Pascal (With DOSBox)
Installer. If no need forTurbo Pascal (With DOSBox) we can uninstall without going
to “Programs and Features” in Control Panel. Open Turbo Pascal (With DOSBox)
Installer and click Remove option.
After click Remove then click Remove to continue to uninstall.
Uninstall will continue after clicking Remove button. Now progress bar will be open
and can see the uninstall percentage.
After successful, press Finish to end the process. You have uninstalled Turbo
Pascal (With DOSBox) successfully, you can reinstall at any time by running the

30 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

software's installation file.

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help
files and Help web sites

Directory Structure in Turbo Pascal (With DOSBox)

Created with the Personal Edition of HelpNDoc: Produce electronic books easily

More Help

You can find other software tutorials in the Help Menu in the Turbo Pascal Menu

31 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Created with the Personal Edition of HelpNDoc: Free EPub and documentation
generator

Other Infomantion

· If you have any suggestions for any bug fixes please report web site error at
sourceforge.net here: web site error
· You can discuss the software here on page SF.net
· Website : http://tpwdb.weebly.com

Created with the Personal Edition of HelpNDoc: Free help authoring tool

Item for Vietnamese language\Mục cho ngôn ngữ Tiếng Việt

Lưu ý: Bài viết này liên quan đến lỗi nhập với phần mềm hỗ trợ gõ tiếng
Việt. Nên sẽ được viết bằng tiếng Việt
Note: These are articles related to Error typing Vietnamese software. So
this article is written in Vietnamese.
Phần​này​bao​gồm​mục​sau: Chú​ý​khi​sử​dụng​Unikey​với​Turbo​Pascal​(With
DOSBox)
Created with the Personal Edition of HelpNDoc: Full-featured EBook editor

Chú ý khi sử dụng Unikey với Turbo Pascal (With DOSBox)

32 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.
Turbo Pascal (With DOSBox) User Manual

Lưu ý: Bài viết này liên quan đến lỗi nhập với phần mềm hỗ trợ gõ tiếng
Việt. Nên sẽ được viết bằng tiếng Việt
Note: These are articles related to Error typing Vietnamese software. So
this article is written in Vietnamese.

Để​tránh​tình​trạng​sai​kí​tự​khi​lập​trình​Pascal​trên​phần​mềm​Turbo Pascal (With


DOSBox), nên tắt unikey hoặc chuyển unikey sang chế độ tiếng anh trước
khi lập trình.
Để​hoặc chuyển unikey sang chế độ tiếng anh, tìm​tới​phần​bên​phải​thanh​tác
vụ,
tìm​biểu​tượng​[V] và​nhấn​vào​để​chuyển​sang​[E]

Để​tắt​Unikey​vào​giao​diện​unikey​và​nhấn​kết​thúc​để​tắt​unikey

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily

33 / 33
Copyright © 2017-2019 by Lưu Nguyễn Thiện Hậu. All Rights Reserved.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy