TweetFollow Us on Twitter

Think Pascal 3.0
Volume Number:6
Issue Number:6
Column Tag:Kelly's Corner

THINK Pascal 3.0

By Dave Kelly, MacTutor Contributing Editor

What’s new with THINK Pascal?

Version 3.0, that’s what! THINK Pascal 3.0 has many new features which I’m sure you’d like to know about. THINK Pascal is (still) without a doubt the best choice for Pascal program development. Let’s review some of the new features.

THINK Pascal 3.0 is completely compatible with version 2.0. The project documents are kept in a slightly different format, but are converted automatically when the project is opened. The old object code is discarded. Converting from earlier versions (1.0 or 1.11) is a bit more complicated. You must rebuild libraries if you still have the source files or use the Convert.lib =>2.0 program to convert to version 2.0 format which is compatible with version 3.0. The new libraries are compatible with MPW .o format.

Object-Oriented Programming is supported by way of the THINK Class Library (TCL) and MacApp. When THINK C was released a few months ago with Class Library support Pascal users were jealous. THINK Pascal 3.0 includes a 300+ page manual on Object-Oriented Programming. The OOP manual is a great way to break into OOP if you haven’t yet. In addition a class browser is provided for showing the hierarchy of your classes.

New programming utilities give added support. ResEdit 1.2 comes with complete documentation. Back up and printing of files is quicker with a new Project Utilities application. Three new applications are provided to create/de create resources from text descriptions or convert resource files for use with MacApp projects.

Several new commands have been added. Files are now closed when clicking in a window’s close box. I’m glad they fixed this. It was somewhat annoying in previous versions. When you hold down the option key, three new commands are available in the File menu: Close All, Save All, and Print All Files. The menus for running and debugging have been modified and rearranged. A new Windows menu contains a command for arranging windows, automatically saving positions of the windows, automatically opening all of a projects windows and the Class Browser window.

One nice thing about THINK Pascal in previous versions was the Alert that appeared when THINK Pascal can’t find a file. This feature has been improved. THINK Pascal 3.0 looks in specific places to find the file it needs before asking you to help find the file.

You can have control over segmentation in your project. You can place each procedure and function in a particular segment with the Segmentation directive {$$ name}. You can segment your project file by file, routine by routine or a combination. Older versions only let you specify segmentation on a file by file basis.

Packed arrays and records in THINK Pascal 3.0 are more compatible with MPW Pascal. The drawback here is that any program that depends on how THINK Pascal 2.0 represents packed records may behave differently in THINK Pascal 3.0.

The editor in THINK Pascal 3.0 lets you find definitions quicker and edit files up to about 32,000 lines. A quick way to find the definition of a procedure, function, class, or global variable used in a source file is to hold down the Option key, and double click on the name of it. THINK Pascal opens the file that defines it and moves to its definition. If it’s defined in a library, THINK Pascal displays an alert telling you which library it is in. You can use this shortcut to find a method, too. If more than one class defines a method for that message, THINK Pascal displays the Class Browser and highlights the classes that define the method. Then double-click on the class you want and THINK Pascal opens the file that defines it and moves to its definition.

There are some new extensions to Pascal, including set constants and indexing string constants. In addition, there is documentation for a previously undocumented feature of Pascal 2.0, the univ qualifier. The univ qualifier lets you disable type-checking for a routine’s parameter. You can also declare set constants in the const declaration part of a unit or program. You can now type cast an expression from its original type to a new type of a different size. These are just a few of the new language extensions.

Other new features include improved compiler directives, new toolbox interfaces (compatible with the latest from Apple MPW 3.0), new LightsBug features, and improved (“smarter”) linking. These improvements and the ones previously mentioned make the upgrade to version 3.0 a necessity.

AppMaker 1.1

Also new these days is AppMaker 1.1. Actually, I’m very disappointed that there are not more improvements, but Bower’s Development has done a lot of work to support the TCL. In fact, the code generated by AppMaker using the Class Library is much more developed than the original code. If you’re using AppMaker, you’ll want to try out the Class Library support. It’s too bad that both types of code generated by AppMaker (Class Library support and regular) don’t give the same support. An worse yet, the structure of the AppMaker menus and windows etc. that you create are so much different that you better know if you want to use Class Libraries before you start. It’s possible, but quite awkward to change your mind because the menus, windows, etc. are set up for Class Library format. Default resources are even different. A item number has to be added to menus when using the THINK Class Libraries.

A few new gadgets have been added, but they are barely noticed since the interface still does not provide tools for aligning objects. Now you can add pictures to your menus, buttons, check boxes, and radio buttons. You can also create custom sliders. Menu support has been improved to support Hierarchical and Pop-up menus.

All in all, AppMaker 1.1 is simply a maintenance release, but if you really need to get into TCL quickly this is a good way to do it since AppMaker creates TCL code. Since Prototyper 3.0 is not out yet we don’t know if it will support TCL, but I know that Now Software (formerly SmethersBarnes) is planning some big improvements. The company name change is just the first improvement.

Other Products

MacWorld Expo in San Francisco brings us a few new announcements which hopefully have been fully realized by now. The first is the release of TGS Systems Prograph Compiler in June. The compiler will make it possible (finally) to produce double-clickable, stand-alone applications. Because Prograph takes care of the syntax, the compiler is free to assume that the code is correct. Run time Prograph compiled applications is significantly faster than when run with the Prograph interpreter. Compiled THINK C and MPW C files can be linked into the application, selecting only those portions of code that are required. The compiler will also be released with an improved Prograph 2.0 editor/interpreter which will provide full support for all five volumes of Inside Macintosh, including Serial Port, Sound Manager, and Color QuickDraw support.

Serius Corp. is preparing for release of version 2.0. Hopefully, this release will be available by the time you are reading this. You’ll have to stay tuned for more on this one.

THINK Pascal 3.0

Symantec Corporation

10201 Torre Avenue

Cupertino, CA. 95014

408-253-9600

AppMaker 1.1

BOWERS Development

P. O. Box 9

Lincoln Center, MA. 01773

(503) 369-8175

FAX: 508-369-8224

AppleLink D1721

MCI ID 375-8546

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Tokkun Studio unveils alpha trailer for...
We are back on the MMORPG news train, and this time it comes from the sort of international developers Tokkun Studio. They are based in France and Japan, so it counts. Anyway, semantics aside, they have released an alpha trailer for the upcoming... | Read more »
Win a host of exclusive in-game Honor of...
To celebrate its latest Jujutsu Kaisen crossover event, Honor of Kings is offering a bounty of login and achievement rewards kicking off the holiday season early. [Read more] | Read more »
Miraibo GO comes out swinging hard as it...
Having just launched what feels like yesterday, Dreamcube Studio is wasting no time adding events to their open-world survival Miraibo GO. Abyssal Souls arrives relatively in time for the spooky season and brings with it horrifying new partners to... | Read more »
Ditch the heavy binders and high price t...
As fun as the real-world equivalent and the very old Game Boy version are, the Pokemon Trading Card games have historically been received poorly on mobile. It is a very strange and confusing trend, but one that The Pokemon Company is determined to... | Read more »
Peace amongst mobile gamers is now shatt...
Some of the crazy folk tales from gaming have undoubtedly come from the EVE universe. Stories of spying, betrayal, and epic battles have entered history, and now the franchise expands as CCP Games launches EVE Galaxy Conquest, a free-to-play 4x... | Read more »
Lord of Nazarick, the turn-based RPG bas...
Crunchyroll and A PLUS JAPAN have just confirmed that Lord of Nazarick, their turn-based RPG based on the popular OVERLORD anime, is now available for iOS and Android. Starting today at 2PM CET, fans can download the game from Google Play and the... | Read more »
Digital Extremes' recent Devstream...
If you are anything like me you are impatiently waiting for Warframe: 1999 whilst simultaneously cursing the fact Excalibur Prime is permanently Vault locked. To keep us fed during our wait, Digital Extremes hosted a Double Devstream to dish out a... | Read more »
The Frozen Canvas adds a splash of colou...
It is time to grab your gloves and layer up, as Torchlight: Infinite is diving into the frozen tundra in its sixth season. The Frozen Canvas is a colourful new update that brings a stylish flair to the Netherrealm and puts creativity in the... | Read more »
Back When AOL WAS the Internet – The Tou...
In Episode 606 of The TouchArcade Show we kick things off talking about my plans for this weekend, which has resulted in this week’s show being a bit shorter than normal. We also go over some more updates on our Patreon situation, which has been... | Read more »
Creative Assembly's latest mobile p...
The Total War series has been slowly trickling onto mobile, which is a fantastic thing because most, if not all, of them are incredibly great fun. Creative Assembly's latest to get the Feral Interactive treatment into portable form is Total War:... | Read more »

Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.