CASLPro
samples
with demonstration of c file use |
The CASL
samples below contain the CASL project files, c files and prc program generated
with CASLPro 3.2.3 or 3.3.0.
They all are freeware, use them at your own risk!
Update 08/31/03:
All examples other than "Progress" work with Palm OS 5.x, when
compiled with CASL 4.x
|
| Reset
/ Freeze |
Reset causes a soft
reset
Freeze stops the processor for a while |
| BeamIt
|
Will send a palm
program or data file to another PDA over the IR port
(Made by CASLSoft and Mark Jackson) |
| SendToCalendar
|
Sends an event to
the Palm calendar program (PalmOS V4.0 and newer only!) |
| SendToMemopad
|
Sends text to the
Memopad using the PalmOs Exchangemanager |
| SoundVolume
|
Same as CASL play
command, but with volume control |
| HardkeyState
|
Shows how to use the
Tungsten 5-Way-Navigator button |
| BatteryInfo |
Gets battery info
like current volt, kind of akku etc. |
| SelectDateTime
|
Brings up date and
time selector dialogs |
Progress
(not OS5 compatible) |
Brings up a modal progress dialog |
| FileAttr |
Retrieves and
changes the attributes of a file in memory |
| VFS
|
enables CASL to have
access to memory cards
(for PDA's with card slots only!) |
| Preferences
|
Stores and retrieves
user defined strings in the saved_preferences database |
| DateTime
|
Retrieves time or
date string in the correct syntax as defined in the Palm Preferences |
| PickColor |
Displays a dialog
that allows you to choose a color |
| PlaySound
|
Plays the different
system sounds (Thanks to Mark Jackson) |
| Hotsync |
Gets the hotsync name
and date of last hotsync (Thanks to Brett Johnson) |
| GraffitiShift |
Enables the Graffiti
Shift Indicator and moves it at any position you want
(Thanks to Mark Jackson) |
| SetTime |
Sets date and time of the palm |
| GetMemSize |
Gets RAM and ROM size
of the Palm's memory |
| Clipboard
|
Reads and writes text
to the clipboard (without using a text object) |
| GetOSVersion
|
Gets PalmOS version
of the Palm |
|
AutoOffTest |
Gets the current auto power off time and sets it to a new value |
| KeyEvent |
Simulation of
pressing a hard button
or tapping a key within your CASLPro program |
| NumSpace |
Gets the numeric
space character and the horizontal ellipsis character regardless of the current PalmOS version |
| ThousandSep |
Formats a
numeric string with thousand separators
"1234567.987" --> "1,234,567.987" |
|
|