PDF Format (non-printable) - available directly from the author (complete with all source code and extras included in the book's CD). No need to wait (or pay) for shipping!
Price: $29.95 US
-- or --
PDF Format - exactly as above, except printable!
Price: $39.95 US
-- or --
Hard Copy
NS Basic Corporation
Amazon.com
Edmunds-Enterprises
Updated to cover through version 5.1
NS Basic Corporation
Palm Recommended
Reading
Please note: code in this book, unless part of a project, is meant to demonstrate syntax or concepts. Most of these code snippets can be used in your projects, but may need to be modified to fit the context of your applications. For examples of code in situ, see the project samples and templates on the book's CD.
Freebie 1 - With the introduction of the much-awaited Grid in version 4 of NS Basic for Palm OS, I decided to remove the section in the first edition of this book that dealt with emulating a table in NS Basic. However, although the Grid is great for displaying items in a row/column format, it doesn't allow direct text entry. Since my previous Table projects *do* allow direct text entry, you might find them helpful. I kept the projects on the CD, and you can now gain access to the Table emulation section (table.pdf) from the first edition of the book. You'll get the most out of this section by printing it out and keeping in the book, referring to it with the Table demo projects active in the IDE.
Freebie 2 - Direct Palm OS downloads! Don't waste time downloading to your desktop and HotSync'ing. Just download these directly to your Palm OS device, and you'll wonder why everything isn't this easy!
Reader submissions
Found an error? Have a suggestion?
Please
submit them from here. Thanks!
Updated projects:
Bonus Projects/code:
NSB Lander - Moon
Landing game (uses NSBSystemLib) to demonstrate
pseudo-multitasking (download
the installable files here)
Progress Bar Clock
- Digital Clock with progress bars added for hour, minute, and seconds
display. Written to demonstrate the use of horizontal progress bars
SimpleProgBar - Simplify your progress bars!
Supply the title and percent complete, and these
routines do the rest. Purely graphical, no form objects used (although a
form must be currently loaded for these routines to work consistently in Palm
OS 5 and above)
PalmPrint code module - provides significantly more
control over printing and transmission of data via PalmPrint
BitmapSwitcher
- create bitmaps that change status as soon as they're pressed, then change
back when the stylus is released
List Lookup - like the Palm
Address book, lets your user start to enter information in a field, then
locates the appropriate record in an alphabetically sorted list
KeyPad
Demo - Uses the NSBSystemLib and 4 bitmaps to
create a form with keypad that automatically handles multiple fields
Pregnancy Calculator
- estimates date of conception, end of first and second trimesters, and
delivery date from LMP
Compression
Demo - Simple text compression that saves approximately 15-25% of space for
strings (based on DOC-style compression)
Dice Roller -
Demonstrates animating bitmaps by rolling a pair of dice. Useful for when
you lose dice to a game.
Timer Clock
- NSBasic now has a Timer, using SysInfoSet ("timer",nnnn). The Timer is
"set" using SysInfoSet with "timer" as the first argument, and the number of
milliseconds as the second argument. When this number of milliseconds has
lapsed, the nsbTimer event will be posted to the event queue. In your
event code, check for the presence of this event, and perform the appropriate
action. If you use 0 as the number of milliseconds, the Timer will
effectively be turned off. TimerClock is a variation of the AnalogClock
project, using the Timer rather than a program loop to update the clock display.
Corrections (will be corrected in the next printing):
Clarifications (will be modified in the next printing):
(please do not change the subject line in the email message, or it may not get forwarded correctly)
Last revised 10/13/2006