[ Samples ]


Here are some sample applications and code snippets written in iziBasic.

If you have source or compiled code you'd like to share, please contact us to get the wiki password and add your stuff to this page.

Full Applications


Kaleida 1.1Freeware by Dave O'Brien
A simple Palm kaleidoscope for doodling. Demonstrates borderless image buttons.
View sourceDownload app outlink, Download source outlink, Download resource outlink


Sweeper 1.1Freeware by Dave O'Brien
A Palm version of the classic Minesweeper game. Includes a main screen and a few pop-up forms (using external resources).
View sourceDownload app outlink, Download source outlink, Download resource outlink


Contact CounterFreeware by Dave O'Brien
Helps you keep track of how many days you've worn your disposable contact lenses. Includes a main screen and a few pop-up forms (using both iziBasic functions and external resources).
View sourceDownloadable app available at PalmGear outlink


imagesFreeware by Dave O'Brien
Displays the 40 "standard" image resources that iziBasic provides for the IMAGE and IMAGEBUTTON functions. You can add to or replace these images as needed in your app.
View sourceDownload app outlink, Download source outlink


iBSkeletonOpen Source Freeware by Brian Houghton (bh77a)
iBSkeleton is a simple application framework that can be used as a template for developing apps. DIA support is demonstrated via Khertan's applet. Menu handling, resource files and clipboard operations are demonstrated as well.
Version 0.3 betaDownload app outlink


Code Snippets


DateConvert2 simple subroutines to convert from iziBasic's European date format (YYYYMMDD) to American date format (MMDDYYYY). Public domain, by Dave O'Brien


A Faster doeventsPublic Domain submitted by JoeV
On my palm, IziBasicís doevents statement takes about 12 ticks (120ms) to execute, whether an event occurs or not. I had an application that needed to run 100 ms loops while still being able to trap gui events. The solution was to write a PP applet. You can download the source code below.
This applet detects pendown events only, but executes in <<1 tick. It could easily be modified to trap other events as well. It returns the pen x and y positions if a pendown occurred, or a null string if not. You can also pass parameters to it which specify the screen location to check. It will return a null string unless the pendown in within the x,y,w,h bounds. Object, such as buttons, may then be created by using images and then the event detected by the applet. The disadvantage, of course, is that your program must manage the object location. However, if speed is needed, this is a small price to pay. By setting the parms equal to the screen size, the applet will execute as a very fast pendown detector.
View SourceDownLoad Source outlink


Hex To Integer ConversionPublic Domain submitted by JoeV
I use my Palm as an interface to embedded microprocessors. It is much easier for micros to transmit numeric data in base 16 rather than base 10. IziBasic has a HEX$ statement that will convert a number to asciii hex but it no statement to decode an ascii hex string. The subroutine below does just that.
View SourceDownLoad Source outlink

  pages read