home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 2
/
DATAFILE_PDCD2.iso
/
utilities3
/
discindex
/
DiscIndex
/
!DiscIndex
/
!HelpMe
/
Help
< prev
next >
Wrap
Text File
|
1993-10-29
|
3KB
|
89 lines
----------------------------------------------------------------------------
User Guide To HelpMe version 1.01 by (c) Neil A Carson
----------------------------------------------------------------------------
Legal
~~~~~
Basically, you can do whatever you want with this program or source code, as
long as I am sent any changes and am credited in any program this should be
included in, either in source or object form. None of this documentation
should be tampered with.
For use in your own program, see the appropriate section.
Why this program
~~~ ~~~~ ~~~~~~~
I wanted to try and write redraw loops in 'C'. I also wanted to find out if
!Edit and txt really have to be as slow as they are. They don't. Unlike
other such programs, the execution speed remains constant, no matter what
the size of the text file.
Manual
~~~~~~
When double clicked, the program will install itself on the icon bar. The
tool bar and this window appear out of a puff of smoke. If Menu is clicked
, a menu will appear with two options - Info-> and Quit. Clicking on the
close box of the main window has the same effect as quit. The tool bar will
show the current line and character AT THE TOP of the main window. Clicking
home or end will scroll the window to the top or bottom. Clicking menu on
'Contents' will bring up a menu with sub-headings in - click on one of
these to be taken to the relevant place in the text.
The program has been written with an ARM-code redraw loop to allow for
fast scrolling. See the source code for more information.
About Help Files
~~~~~ ~~~~ ~~~~~
For the application to load a help file, it must be an ASCII text file
inside the application directory, called 'Help.'
Also contained in the same directory must be a file called 'HelpData.'
The HelpData file contains textual descriptions of the contents entries,
and the button details. There may be no more than 255 contents entries,
or 4095 buttons.
The format if the file goes:
< identifier > < integer(s) > <label>
Two identifiers are currently supported, 'button' an 'contents.'
The syntax for a contents entry is as follows:
contents line label
(e.g.) contents 4 Legal
This would add 'Legal' to the contents menu, and when that menu option was
clicked, the window would jump to line 4.
In a contents entry, _ in the file will be changed to a space in the menu.
The syntax for a button is like this:
button x,y,width line
(e.g.) button 10,15,5 20
This would place a button on line 15, starting 10 characters from the left,
and 5 characters in length. When clicked, it would go to line 20.
There may e no more than 255 contents entries, or 4095 buttons in any one
helpdata. If either of these are exceeded, the rest of the file WILL BE
IGNORED.
When executing !AutoRun (in the HelpMe dir), the first CLI argument
should be the name and path of the Help file, and the second the name
and path of the HelpData. The file MUST end in a newline!
Future
~~~~~~
* Add full sprites, (then) replay movies.
My Address:
~~ ~~~~~~~~
e-mail will be forwarded by: dhaynes@cix.compulink.co.uk
(if you ask him nicely!)
on packet TCP/IP : neil@g7kqy.ampr.org [44.141.6.229]
on ax25 packet, forwarded by: g7kqy@gb7oxf
Snail: Neil A Carson,
1 Penn Close,
Abingdon,
Oxford OX14 2NX
ENGLAND.