![]() This tutorial will show how to prevent duplicate data from being stored in the array. Sometimes, we do not want duplicate data loaded into the array. Tutorial 23 - Preventing Duplicate Data in Arrays This tutorial will check each element in the array and find the highest and lowest number. Tutorial 22 - Finding the Highest and Lowest Array Element Two arrays will be combined to make a 2D array (matrix) Tutorial 21 - 2 Dimensional Arrays - Matrix Parallel arrays work together to hold data that is related to the data in the other array(s) Gotoxy places the screen cursor at a location on the screen. This tutorial shows how to pass values to procedures.įunctions are just like procedures with the exception that a function can return a value.Īrrays can hold data of the same data type. Tutorial 16 - Passing Values to Procedures ![]() Procedures allow the programer to call code without having to write the code again. Procedures are used to chop large programs into understandable chunks. Guess My Number is a classic game that incorporates much of what the previous tutorials covered. Randomizing data can be used in games and to calculate mathematical possibilities. Menus are extremely important for directing the user to control the program’s function and understand what the program is capable of doing. The Val function can be used to prevent the program from crashing. When the user places not numeric data into a data type, that is expecting a number, the program will crash. Tutorial 11 - Preventing Crashes With Val The programmer must check to see if the information is correct or not. Sometimes the user does not enter correct information. This tutorial shows examples of the For Loop. This tutorial shows examples of the Repeat Until Loop. The computer is excellent for doing things over and over again. If statements are used to make decisions.Ī case statement is just like an if statement. A variable with the data type must be declared to store the information. The command readln (or its variation read) will collect the data. A variable with the correct data type must be used. Readln and Read are used to collect data from user input. The data type tells the computer what type of data the variable will hold. Variables are used to hold data in memory. Simple math calculations are shown in this tutorial. The tutorial shows the user interface and shows how to make and compile a program. This tutorial contains the link to download Free Pascal and Lazarus. ![]() Tutorial 1 - Getting Started - Free Download ![]() Installing Free Pascal / Lazarus IDE for Windows is a simple process. Install Free Pascal / Lazarus IDE for Windows Installing Free Pascal / Lazarus IDE for Mac is a tedious process. Install Free Pascal / Lazarus IDE for Mac For GUI Free Pascal tutorials see the Free Pascal App Series ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |