The last part of creating an application is to test the application, fix the bugs and set the properties for the final build. One of the main bugs is to fix to application crashing when a non-number is added to the program. Also, the application has a habit of refreshing too easily, thus, asking a new question when the active question has not been answered.
Once these problems have been fixed, the program properties can be set. The program’s properties can be set by using the Project Options dialog.
For students and others looking for the blog article on how to start your own business with Google Adsense, Affiliates, and Advertising, the article can be found here: Making Money with AdSense, Affiliate Programs, Blogs, and Websites.
The tutorials on how to create installers for your programs are found here:
Windows:
Creating Custom Installers For Your Programs With Inno Setup
Mac:
Creating a dmg (Disk Image) for Distributing Programs and Files
Note:
If you get an error with “end.” highlighted within the lpr tab, comment out the {$IFDEF Windows} {$R project1.rc} {$ENDIF} line. Lazarus will recreate this line later on in the tutorial. It seems to have to do with an icon bug.
More Information:
http://bugs.freepascal.org/view.php?id=15581
On the Mac application the code for checking to see if the file exists, parentheses need to be be added:
if (not FileExists('Sound/claps.wav')) then
SoundMissing := True;
if (not FileExists('Sound/oops.wav')) then
SoundMissing := True;
The Code for the Quick Clock Quizzer:
The next set of tutorials will deal with programming a simple video game. The game is called Pascal Ping Pong and is like the table tennis games that were popular in the 70’s and early 80’s. Please check back soon. The tutorials and game are being finalized.
Video: Free Pascal Tutorial 31 - Adding An Icon To The Application - Quick Clock Quizzer - Lazarus
