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

Make the passage of time your plaything...
While some of us are still waiting for a chance to get our hands on Ash Prime - yes, don’t remind me I could currently buy him this month I’m barely hanging on - Digital Extremes has announced its next anticipated Prime Form for Warframe. Starting... | Read more »
If you can find it and fit through the d...
The holy trinity of amazing company names have come together, to release their equally amazing and adorable mobile game, Hamster Inn. Published by HyperBeard Games, and co-developed by Mum Not Proud and Little Sasquatch Studios, it's time to... | Read more »
Amikin Survival opens for pre-orders on...
Join me on the wonderful trip down the inspiration rabbit hole; much as Palworld seemingly “borrowed” many aspects from the hit Pokemon franchise, it is time for the heavily armed animal survival to also spawn some illegitimate children as Helio... | Read more »
PUBG Mobile teams up with global phenome...
Since launching in 2019, SpyxFamily has exploded to damn near catastrophic popularity, so it was only a matter of time before a mobile game snapped up a collaboration. Enter PUBG Mobile. Until May 12th, players will be able to collect a host of... | Read more »
Embark into the frozen tundra of certain...
Chucklefish, developers of hit action-adventure sandbox game Starbound and owner of one of the cutest logos in gaming, has released their roguelike deck-builder Wildfrost. Created alongside developers Gaziter and Deadpan Games, Wildfrost will... | Read more »
MoreFun Studios has announced Season 4,...
Tension has escalated in the ever-volatile world of Arena Breakout, as your old pal Randall Fisher and bosses Fred and Perrero continue to lob insults and explosives at each other, bringing us to a new phase of warfare. Season 4, Into The Fog of... | Read more »
Top Mobile Game Discounts
Every day, we pick out a curated list of the best mobile discounts on the App Store and post them here. This list won't be comprehensive, but it every game on it is recommended. Feel free to check out the coverage we did on them in the links below... | Read more »
Marvel Future Fight celebrates nine year...
Announced alongside an advertising image I can only assume was aimed squarely at myself with the prominent Deadpool and Odin featured on it, Netmarble has revealed their celebrations for the 9th anniversary of Marvel Future Fight. The Countdown... | Read more »
HoYoFair 2024 prepares to showcase over...
To say Genshin Impact took the world by storm when it was released would be an understatement. However, I think the most surprising part of the launch was just how much further it went than gaming. There have been concerts, art shows, massive... | Read more »
Explore some of BBCs' most iconic s...
Despite your personal opinion on the BBC at a managerial level, it is undeniable that it has overseen some fantastic British shows in the past, and now thanks to a partnership with Roblox, players will be able to interact with some of these... | Read more »

Price Scanner via MacPrices.net

You can save $300-$480 on a 14-inch M3 Pro/Ma...
Apple has 14″ M3 Pro and M3 Max MacBook Pros in stock today and available, Certified Refurbished, starting at $1699 and ranging up to $480 off MSRP. Each model features a new outer case, shipping is... Read more
24-inch M1 iMacs available at Apple starting...
Apple has clearance M1 iMacs available in their Certified Refurbished store starting at $1049 and ranging up to $300 off original MSRP. Each iMac is in like-new condition and comes with Apple’s... Read more
Walmart continues to offer $699 13-inch M1 Ma...
Walmart continues to offer new Apple 13″ M1 MacBook Airs (8GB RAM, 256GB SSD) online for $699, $300 off original MSRP, in Space Gray, Silver, and Gold colors. These are new MacBook for sale by... Read more
B&H has 13-inch M2 MacBook Airs with 16GB...
B&H Photo has 13″ MacBook Airs with M2 CPUs, 16GB of memory, and 256GB of storage in stock and on sale for $1099, $100 off Apple’s MSRP for this configuration. Free 1-2 day delivery is available... Read more
14-inch M3 MacBook Pro with 16GB of RAM avail...
Apple has the 14″ M3 MacBook Pro with 16GB of RAM and 1TB of storage, Certified Refurbished, available for $300 off MSRP. Each MacBook Pro features a new outer case, shipping is free, and an Apple 1-... Read more
Apple M2 Mac minis on sale for up to $150 off...
Amazon has Apple’s M2-powered Mac minis in stock and on sale for $100-$150 off MSRP, each including free delivery: – Mac mini M2/256GB SSD: $499, save $100 – Mac mini M2/512GB SSD: $699, save $100 –... Read more
Amazon is offering a $200 discount on 14-inch...
Amazon has 14-inch M3 MacBook Pros in stock and on sale for $200 off MSRP. Shipping is free. Note that Amazon’s stock tends to come and go: – 14″ M3 MacBook Pro (8GB RAM/512GB SSD): $1399.99, $200... Read more
Sunday Sale: 13-inch M3 MacBook Air for $999,...
Several Apple retailers have the new 13″ MacBook Air with an M3 CPU in stock and on sale today for only $999 in Midnight. These are the lowest prices currently available for new 13″ M3 MacBook Airs... Read more
Multiple Apple retailers are offering 13-inch...
Several Apple retailers have 13″ MacBook Airs with M2 CPUs in stock and on sale this weekend starting at only $849 in Space Gray, Silver, Starlight, and Midnight colors. These are the lowest prices... Read more
Roundup of Verizon’s April Apple iPhone Promo...
Verizon is offering a number of iPhone deals for the month of April. Switch, and open a new of service, and you can qualify for a free iPhone 15 or heavy monthly discounts on other models: – 128GB... Read more

Jobs Board

Relationship Banker - *Apple* Valley Financ...
Relationship Banker - Apple Valley Financial Center APPLE VALLEY, Minnesota **Job Description:** At Bank of America, we are guided by a common purpose to help Read more
IN6728 Optometrist- *Apple* Valley, CA- Tar...
Date: Apr 9, 2024 Brand: Target Optical Location: Apple Valley, CA, US, 92308 **Requisition ID:** 824398 At Target Optical, we help people see and look great - and Read more
Medical Assistant - Orthopedics *Apple* Hil...
Medical Assistant - Orthopedics Apple Hill York Location: WellSpan Medical Group, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Now Read more
*Apple* Systems Administrator - JAMF - Activ...
…**Public Trust/Other Required:** None **Job Family:** Systems Administration **Skills:** Apple Platforms,Computer Servers,Jamf Pro **Experience:** 3 + years of Read more
Liquor Stock Clerk - S. *Apple* St. - Idaho...
Liquor Stock Clerk - S. Apple St. Boise Posting Begin Date: 2023/10/10 Posting End Date: 2024/10/14 Category: Retail Sub Category: Customer Service Work Type: Part Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.