            BRIEF DESCRIPTIONS OF FILES IN OPLEXAMP.ZIP
                                 
                  Mike Niklaus :  7th March, 1995
                                 
Because I didn't have the time to download and try out each
program, I simply read the .txt and .opl files and attempted to
work out what any code in them did.  I am new to the Psion S3 and
S3a so please forgive the queries and probable inaccuracies in the
following list.

It will be much appreciated by me if any expert reading this
document is able to let Steve Lichfield have an updated version of
it.

*************************************************************
Additions & Modifications by PLE@CIX.COMPULINK.CO.UK 24/02/97
*************************************************************

                                 #
3aeval.opl     Runs the OPL translator to translate and expression then
               evaluates it and gets the result.

                                 A
Aalarm.opl     Details of calls to OS time.
Abstim.opl     Demonstrates how to set up a timer using system time and
               launch an application when the timer duration is completed.
Agendfmt.txt   Details of how agenda files are formatted.
Alarms.opl     Alarm setting program.
Alm.opl        Alarm setting program.
And.opl        Complex text about overflows and using the AND operator.
Appman.opl     Application framework - fully asynchronous operation     
Assemb.opl     Assembler prog snippet regarding  two  dimensional arrays(?)
Atten.opl      Calculates electrical impedances.
Attime.txt     Shoes how to make Psion switch on at a specified time.
Attrib.opl     Shows how to set file attributes  from  within a prog.
Attrib1.opl    Also shows how to set file attributes  from  within a prog.

                                 B
Basechng.opl   Prog which converts values from one numeric base to another.
Batchk.opl     Displays battery voltages.
Battery.opl    Displays Psion battery voltages.
Battery1.opl   Also displays Psion battery voltages.
Beeper.opl     Tiny prog which beeps whenever PEEKW ($28) is  non-zero(!)
Bitmap.opl     Appears  to move an icon around  the  screen  when
               various keys are pressed(?)

                                 C
Capture.txt    Runs  specified program  when  specified  keypress
               combination detected.
Checkdir.txt   How  to  write  code  to  distinguish  between   a
               directory and a file.
Circle.opl     A quick way of drawing a circle.
Circlef.opl    A quick way of drawing a filled circle.
Circles.opl    A quick way of drawing a circle.
Circlex.opl    A quick way of drawing a circle.
Clockcrd.opl   Processes clock card data.
Closeapp.opl   Closes down an application process.
Combsort.opl   Example of a 'comb' sort, used on an array here but
               modifiable for .dbf files.
Commtime.txt   How to get your prog to communicate over the serial
               link.
Contrast.txt   Prog to read and/or change contrast value.
Conv.opl       Adds conversions to Psion Calculator.
Convstr.opl    Coverts string number in any base to long in base 10.
Countdwn.opl   Simple prog to beep after a specified duration.
Cpress.opl     Compresses data files from within your prog.
Ctrlbeep.opl   Demo of a beep prog running at same time  as  chrs
               being typed.
Ctrlhelp.opl   Demo of Help file implementation. Requires Dohelp.opl. See below.
cube.opl       Graphics cube in 3D
cube.txt       Cube source information
currency.opl   Change system currency symbol.

                                 D
Datadate.txt   How to extract last update date from a data file OPL example
Datetrix.txt   Using Integers in dialogs. Converting  dDATE back
               to day,month,year..
Datused.opl    Find file name in use by an application e.g. Agenda
Dbase.opl      Database file export to comma delimited format.
Dbsort.opl     Sort a database file
Dbsort.txt     Sort a database file information
Devlist.opl    Prog  to display list of devices  present  on  the Psion.
Devtype.opl    Prog to display device type on a specified drive (e.g. on A, B).
Dirtest.opl    Test if a file is a directory.
Dispicon.opl   Load and display a programs icon - needs OPL SDK. 
Diuline.txt    How to set/unset dialog dividing lines  where  not
               normally possible.
Docap.opl      Keypress capture and testing - advanced.
Dohelp.opl     Prog implements a help facility. Runs in background.
Dohelp.txt     Notes on dohelp & ctrlhelp OPL code.
Doubleb.txt    How to improve screen drawing speed.
               Also warning that only one sprite at  a  time  is supported.
Dtmf.opl       Method of sounding dialling tones from an S3 program.
Dtr.opl        Serial port handshaking.

                                 E
E12R.opl       Appears  to convert something  using  a  table  of
               values, but what?
Elipse3.opl    How to draw elipses fast
Encrypt.opl    Demo of encrypting/decrypting text, using the password as a mask.
Envvars.txt    Environment variables information
******* The Ex_*.opl files below come from the Psion S3a progam manual ******
Ex_alarm.opl   Sets a specified alarm time.
Ex_anima.opl   Animates rectangles of the screen divided  into  5 areas.
Ex_app0.opl    Example of setting up an OPA type 0 application.
Ex_app3.opl    Example of setting up a type 3 OPA application.
Ex_birth.opl   Prog to calculate day of week from specified date
Ex_bounc.opl   Bounces a "0"  around the screen.
Ex_circl.opl   Draws a hollow elipse of specified centre,  radius,
               circularity w/o trig.
Ex_circ2.opl   Draws a filled elipse of specified centre,  radius,
               circularity w/o trig.
Ex_dice.opl    Prints a random integer in the range 1-6.
Ex_dtmf.opl    Prog to sound DTMF tones.  Uses OS calls.
Ex_eval.opl    Prog demonstrating use of the EVAL command.
Ex_icon.opl    Demo of creating  simple icon.
Ex-ioscr.opl   Demo of I/O calls to set font, size, style etc  for
               a selected window.
Ex_iotyp.opl   Returns the type name of a specified file.
Ex_label.opl   Processes a data file to adjust it when you add  an
               extra field.
Ex_menus.opl   Demo of using menu commands.
Ex_music.opl   Demo  using  beep  to  sound  notes  of   specific
               frequencies.
Ex_reord.opl   Sorts a data file into rising alpha order based  on
               contents of 1st field. Uses Update to move records
               rather than create an index so don't use this for a
               file held on a FLASH disk.
Ex_timer.opl   Countdown timer with a resolution of 1 second.
Ex_watch.opl   Stopwatch with a resolution of 1 second.
Export.opl     Writes  .dbf file to a text file using selected delimiter.
Expow.opl      Sets Autopower off (&  on?) using a background program.

                                 F
Fdial.txt      World dialling and country info.
Fildev.opl     Disk / device type.
Fileevnt.txt   Shows how in a prog to detect deletion/addition of
               a new file in the system screen file list.
Fileview.opl   Display a file using IOOPEN IOREAD etc
Findfie2.txt   More  details  of bug  in  FINDFIELD  command  and
               patches for it
Findfie3.txt   Corrections to warning in FindFie2.txt.
Findfiel.txt   Original warning of bug in FINDFIELD.
Finfo.opl      Get file information.
Flash.txt      Read flash RAMs directly - machine code
Fmt%.opl       Format a storage device.
Fontform.txt   Description of the format of font files.
Format.opl     Code to format a disk in drive B, using I/O calls.
Frc.opl        High resolution timer / stopwatch using the free running counter
Fsize.opl      Proc to return size of file specified as a parameter.

                                 G
Getaevnt.opl   Handle keypresses, clocks and timers asynchronously - code
Getaevnt.txt   Handle keypresses, clocks and timers asynchronously - notes
Getclock.opl   Proc which returns clock type. I.e. Analogue/digital.
Getctd.opl     Get country data and other system info

                                 H
Hexdump.opl    Hexadecimal display of a file

                                 I
Inqalm.opl     Lists the alarms of all types currently queued.
Insert.opl     Insert an additional field into database file.
Iotype.opl     ? Appears to use I/O calls to create a  one  field
               .dbf file from a text file(?).
Invade.opl     Foreground / background demo

                                 J
Jump.opl       Keypress capture and testing - advanced.

                                 K
kbscan.opl     Get keyboard scan codes
Kernel.txt     Use of kernel memory by operating system
Keycloff.txt   Code to disable k/brd clicks.
Ktest.opl      Keypress capture and testing - asynchronous advanced.

                                 L
Latlong.opl    Code to get Lat/Longditude of specified city  using
               World file.  Also describes format of World files.
Launch.opl     Launch an application from within an OPL program.
Launch2.opl    Launch an application or script from within an OPL program
               and test if the serial link is on or off .
Lcd.opl        Control the LCD display contrast.
Link.opl       Controlling / sensing the serial link.
Linkon.opl     Controlling / sensing the serial link.
Linkopl.txt    Describes how to set/unset Remote Link from  within
               a prog.
Listch1.txt    Code to demonstrate scrolling in a window.
Lprintp.txt    Tip on what to poke to make LPRINT work to the screen.

                                 M
Mc2agn.opl     Prog to convert MC diary to S3 agenda file.
Menpat.txt     Menu memory bug patch S3 see Mnupatch.opl also
Mnupatch.opl   Code to patch bug in MENU command (bug = space used 
               is not released).

                                 N
Noteconv.opl   How to calculate a beep frequency for a specified semitone.

                                 O
Opapic.opl     Apparently allows you to select an existing  icon
               and copy it(?).
Opaskel3.opl   Skeleton for an OPA application
Opl.txt        Demo of OS calls. This one checks what is powering the Psion.
Opldialo.txt   How to set default file extensions in dialog boxes.
Oplfield.txt   Procedures to read/write .dbf field labels.
Oplprint.txt   How to perform Print Setup from within a prog.
Oplvars        Tutorial on OPL variables 
Oposrch.opl    Prog to search for text pattern inside specified file.
Org2agn.opl    Prog to convert Organiser II diary file  to  S3
               agenda format.
Oscalls.txt    How to make calls to EPOC operating system

                                 P
Penv.opl       Get serial port status from the environment variable.
Picfmt.txt     Description of the format of .pic files.
Picinopl.txt   Code showing how to store .pic files from within an
               OPA application.

                                 R
Read.txt       This file
Readagn.opl    Displays the records of an .agn file on the screen.
Readme.txt     Detailed description of Ex_anima, Ex_alarm,
               Ex_label, Ex_circ1, Ex_circ2.
Rectype.opl    Read database file header records.
Reorder.opl    Sort a database file.
Res&lang.txt   Getting the language code & calling C from OPL 
Runopa.txt     How to start an OPA from within your prog.
Runsco.opl     Runs a Comms script(?) from within your prog.
Runwp.opl      Run the Word application from within an OPL prog.

                                 S
S3keypad.txt   How to run a program (with a particular file(?))from
               a keypress combo.
S3kill.opl     A beautifully annotated set of procs to run/kill
               apps from your prog.
S3serial.txt   How to read/write from/to the serial link on the S3
               (not the S3a).
Script.opl     Code for running a script file from your prog.
Scroll2.opl    Example of scrolling a window.
Scroll3.txt    Short tip on window scrolling.
Scrollin.opl   Example code for smooth window scrolling.
Seriafax.txt   How to run comms progs over the 3Fax.
Settime.opl    Code to set the system time.  (For the 3a but easily modifiable).
Sinus.opl      Appears to rotate a gPOLY graphic on the screen(?)
Sort.opl       Heap sort demo program
Starta.opl     An application launcher. Runs specified application and file.
Startapp.opl   An application launcher. Runs specified application and file.
Sys$prog.opl   Run another OPL prog from within an OPL prog.
Syscal.txt     How to make calls to EPOC operating system - in detail

                                 T
Taggin.opl     Get a list of tagged files from a user
Tell.txt       Tells your prog whether it's running on an S3 or S3a.
Templa.opl     Multi-screen application template
Time.opl       Example code for setting system date and time using
               OS calls. Appears to require opl/g translator(?)
Time2.opl      Modified version of Time.opl above.  Appears not to
               need opl/g(?)
Time3.opl      Another prog setting system time/date, with  an  OS call.
Timers2.opl    Runs 2 timers with 1/10 second resolution while you
               do something else.
Timeset.opl    Yet  another (outdated,  now  we  use  dialogs(?))
               system time set prog.
Timetick.txt   Getting Operating System time data
Ts.opl         Search a file for a text string.
Ttyread.txt    Reading from the serial port with a time out.
               Also  includes  mini-tutorial  on  how  to  manage
               asynchronous processes.
Twodtext.opl   How  to  use  a one dimensional  array  as  a  two
               dimensional array.
Txmodem.opl    Send files via Serial link using Xmodem XMD: device driver.
Tymodem.opl    Send files via Serial link using Ymodem XMD: device driver.


                                 U
Undel.opl      Undeletes deleted database records and puts them in
               a new .dbf file. Some 'style' records are also copied across.
               You  have to delete these before merging the recovered
               records back into the main file.
Updflist.opl   Ensure system screen file lists are always updated
User.opl       Get owner/user info from environment variable.

                                 Z
Zones.opl      Get summer time settings for the world zones.

                                END
