http://www.7thsoftware.co.uk/software.htm
About Routines
Routines is a collection of dynamically-linking BASIC libraries designed to
greatly simplify the job of writing all kinds of programs, from command line
tools to full multitasking Wimp applications. It does this by putting all of
the most common stuff somewhere it can easily be reused.
Here's an example of how simple it is to write an application to put an icon
onto the iconbar:
LIBRARY "<Routines$Linker>"
PROC`library("wimp.wimp")
ON ERROR PROC`wimp_error
SELF_NAME$ = "Simple task"
SELF_TASK% = FN`initialise(0, 350, SELF_NAME$)
SELF_ICON% = FN`add_iconbar_icon(`IBAR_RIGHT%, "!routines")
ON ERROR PROC`quit:QUIT
PROC`wimp_poll(0, 0)
PROC`quit
QUIT
Steve
--
Steve Revill, Principal Software Engineer web: www.7thsoftware.co.uk
7th software
5 Seppings Close, Wilburton,
Ely, Cambridgeshire, CB6 3SJ