home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
utilities
/
programsearcher.doc
< prev
next >
Wrap
Text File
|
1991-02-20
|
6KB
|
197 lines
Program Searcher V2.0
Written by Roger Martensson,Sweden
The whole program is copyrighted by me.
If you have some ideas or faster/better code to this
program, please send them to me. I don't want anyone to make
any changes in this program.
So, Please send your faster/better code to me.
If you by accident would find a useful routine then you have my
permission to take and use it.Remeber, ONLY routines not the whole program.
This piece of program is SHAREWARE. If you like it and use it please
me atleast 20 SEK(about 2 GBR pounds).
Send the money as a money order.
This program was made using Mandarin softwares excellent program AMOS.
My address is:
Roger Martensson,Ravinvagen 5,890 42 Mellansel,Sweden
******************************************************************************
Welcome to Program Searcher V1.9b!
This program is,as the name says, a program searcher. You just type in the
name and after a while the information comes up. But this program has a extra
feature. Let`s say you want to see if there is any C source for a game.
Well, with this program this is a easy task. You just set options
language to C,File to Source and Program to game and press return. Now you
can sit back and see the program search if there is any source for a game
written in C.
That was a short description of this EASY to master program. Yes, it`s very
easy to master. You just read the instructions once and off you go.
******************************************************************************
SEARCHING
------------
There is three ways of searching in this program. Normal search,Disc search,
and option search.
Normal Search
---------------
To use normal search you only have to write the name of the program and press
return. Got that.
Disc search
-------------
To use this option you have to press F4 or click with the mouse on D search.
Now appears a yes or no question.
Note that you can use Left Amiga+F1/F2 instead of y/n+Return.
Now comes the hard bit. Type in the name of the disc(without :,explained
later).Here`s an example:
You got a program with the discname QWE23: in the list.
You press F4,answer y and write QWR23. (<--note no :)
Remember to write QWE23 and not QWE 23. QWE23 and QWE 23 is two unique names.
Option search
---------------
To use this search method you have to know:
*file.
What sort of file is it?
Is it a Run only,Source,Tune/Song,Sample,Graphic or a font?
*Language
In what language is it written in? (only needed for Source)
Is it written in Assembler,C,Amos,Basic,Modula 2,Adventure definition
language,Draco,Pascal,Forth,Logo,Lisp or Prolog?
*Program
What sort of program is it?
Is it a Demo,Product demo,Display hack,Game,Language,Application,
Telecommunication,Music utility,Graphic utility,Disc utility,Antivirus
utility or another utility.
All options are set to NULL as default.
Null means nothing. If you don`t want to search f.ex. a
special sort of language then you set the language option to Null.
ADDING
--------
One file can handle 800 names and to add one name to the file is easy.
You only have to:
*Press F1 or use the mouse.
*Answer y.
*Write the name of the program(max 50 letters).
*Set the options of the program.
*Press return.
*Wait about 12 seconds.
*Write the discname.(max 70 letters)
*Wait again.
Remember to always end the DISCNAME with a :.
Everything before the : is the discname and everything after the : is
threated as a small description (or a Rem if you like).
F.ex. QWE23: Only a example.
DELETING
----------
This must be the most easiest function.
You only have to:
*Press F2 or use the mouse.
*Press y.
*Write the name of the program to delete.
*Press return.
*Wait.
EXIT
------
Press F3.
INFO
------
This option searches through all the names and counts them.
This can be useful if you would like to know how many names you have
inserted..
Creating a new file
---------------------
Well,in the main program is a file exactly the same as the name of a program.
But if you`re going to CREATE a file then the file is a text file on the disc
If you would like to create a file then you only have to start the Create
program,write the name of the file and waaait(ZZZ). To speed it up you can
create it in RAM: and copy it to the disc with the Cli-command Copy.
It`s not over yet.
Now ,you have to create a small Dos-file.
Use Ed to open a file. F.ex. Ed your_example
Write:
Copy sys:example_file to ram:namn
Ramos ProgramSearcher.Amos
Copy ram:namn to `sys:example_file`
Delete ram:namn
Rename the example.info to your name with:
Copy example.info to your_example.info.
To start your program you have to double click on the `your_example` icon.
But there`s one problem. It takes a long time to exit.
Why?
Well, first of all does it copy the sys:example_file to ram:
then it starts the main program.
When you exit it copys back the example_file to the disk and deletes it from
RAM:
To make it faster you have to make 3 files (well, atleast 2).
Do this:
* Ed your_example_startup
* Write:
Copy sys:example_file to ram:namn
Ramos ProgramSearcher.AMOS
* Save it.
* Move an icon to this file.
* Ed your_examples_save
* Write:
Copy ram:namn to sys:example_file
Delete ram:namn
* Save it.
* Move an icon to this file.
(You don`t have to make the next file.)
* Ed your_example_delete
* Write:
Delete ram:namn
* Save it.
* Move an icon to this file.
******************************************************************************
Well, that`s all. I have no more to say than:
Hasta la vista,Amigos!
Roger Martensson,Sweden