home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
iosmailn
/
iosshell.doc
< prev
next >
Wrap
Text File
|
1992-08-14
|
8KB
|
385 lines
Welcome to IOSmail Shell program.
This program will make you easy to poll your boss with IOSmail. You can
make an selection with the mouse. Even you can drag the icons to an
other place on the desktop. How to use IOSshell.
If ypu start for the first time : To select the exporter, importer etc.
just double click on the icon you want to activate. You see an filesectorbox
where you can click the decided program. After that, you get an dialog box
where you can type the parameters for the choosen program.
You can select almost all the icons in this way.
To start the program, just double click on the icon, and the program runs.
The drive icons are not active at this moment, so you can't start an other
program from the shell. If you are familiar with the build in interpeter
you can start programs, like
input "Program to start", a$
exec a$, " ", "C:\"
The poll icon however, this one you must activate from the menu. You must
create an poll file, as simple to click on the menuitem 'make rank' under
the menu title 'Poll'. You get an dislogbox where you esally click the
decided programs to run after errorlevel of your binkley mailer.
For example, if your mailer exits with an errorlevel 10 after receiving
mail, type in the dialogbox in the area 'expected errorlevel' the number
10, then you can decide wich program to run after this errorlevel.
Then you can jump to the beneth side of the dialogbox. There are several
goto's. In the above example you see (not graphical here)
Expected errorlevel execute Goto label
10 Import Msgeditor 1
0
0
0
Labels
1 Scanner Packer
If the mailer has received mail, the shell will execute the import program
en after importing the messageeditor.
After leaving the message editor, the shell will see that you want to go
to label 1. In label 1 there is the scan program an pack program.
WARNING, the program expect that you using IOSmail, trying to run another
mailtosser doesns't have effect. The program is created for IOSmail.
To click on the poll icon, which name shall be changed by the file you
have choosen, will activate the mailer BT.TOS, another will not be
accepted.
From the shell file you can activate the programs. If you want to change
the file, single click on the icon, and goto the menuitem 'File'.
Click on 'Select', and you get an new dialogbox.
To create an filesrequest, click on the menuitem 'Filereaquest'. You get an
dialogbox where you can fill your filereq. To get the allfiles from the
node above in the dialogbox, click on the button allfiles. An filereq
is created for the allfiles. If you wnat to get other files, type the
names and extensions of the files you want to req. The file created is
an filereq file for binkley > 3.00.
You can also make an areafix req. from the shell. You don't have to create
the message by yourself. Click on menuitem 'areafix' and an dialogbox
appears. You will be ask 'connect', 'disconnect' 'cancel'.
Click on the decided button. Then you can type the areas to connect, ot
disconnect. An file is directly written to your outbound. This will also
need binkley > 3.00
Shell files.
These shell files has the extension *.SHL. Those files are like basic
programs. The shell will regonize all *.SHL files in your directoru.
These SHL files are simple ascii file. No special editor is needed.
If an SHL file is found, an icon is created for this SHL file. You can start
it with an double click on the icon.
The interpeter is not realy bugfree, but you can work with it. For
example if's in if's is not realy bugfree, but if you work with it you
know that that is what you can't do. The interpeter as is, you can make
little programs in it. The interpeter is one of my earlier works. This
interpeter is made about a 3 years ago, and is added to the shell file.
As is, you can make use only of the shell without using the build in
interpeter.
Commands :
print
This is the old fashioned print from basic
input
The input which is the same as basic input
if
The if from basic. if <variable>
then
then <statement>
endif
Gives the end of an if statement
else
if not true then else
and
More for if
if a=1 and b=4
or
Opposite of and
if a=1 or b=4
for
for (var> = <number> to <number>
next
To run the for instruction.
goto
goto <label>
if i=1 goto start
..... <code>
start
gosub
gosub <label>
see goto
return
return from gosub subroutine
gosub misc
.... code
misc
.... code
return
end
program end
bprint
bprint "<arguments>"
Backwards print
clearscr
clear the screen
chr$
chr$(<value>)
printf chr$(48)
left$
left$ (<var$>, <value>)
left$ ("This is an string", 5)
mid$
mid$ (<var$>, <value>, <lenght>)
right$
right$ (<var$>, <value>)
space$
space$ (<value>)
upper$
upper$ (<var$>)
lower$
lower$ (<var$>)
fupper$
fupper$ (<var$>)
date$
date$
print date$
prints the date and time on screen
instr$
instr$ (<var$>, <var$>)
printf instr$("this is an test", "is")
rinstr
rinstr (<var$>, <var$>)
strs$
strs$ (<number>)
Number routines
peek
peek (<address>)
wpeek
wpeek (<addres>)
lpeek
lpeek (<address>)
speek
speek (<address>)
swpeek
swpeek (<address>)
slpeek
slpeek (<address>)
Example of all peek commends
i=speek(1345)
rnd
a=rnd
random
a=random(<max number>)
len
a=len (<var$>)
trim$
a=trim$ (<var$>)
Trims spaces
keyget
a=keyget
Ask for key
dfree
dfree (<drivenumber>)
dused
dused (<drivenumber>)
asc
asc (<var$>)
abs
abs (<number>)
hex$
hex$ (<var$>)
exist
exist (<var$>)
a= exist ("IOSMAIL.TTP")
0 is not avaible
any other, is avaible
lof
lof (#<handle>)
Lenght of file in handle
loc
loc (#<handle>)
eof
eof (#<handle>)
Loops to be used
repeat
repeat
until
until <condition>
while
while <condition>
wend
wend
do
do
loop
loop
break
break
poke
poke <number>, <number>
wpoke
lpoke
spoke
swpoke
slpoke
on
on <x> <gosub, goto>, <labels>
switch
switch <varible>
case
case <expression>
default
default
cont
cont
endswitch
Make end on switch command
Files open, handle, close
flist
flist <file$>, <from line>, <to line>, <prompt$>, <key $>, <eofprompt$>
List an ascii file file$ from line to line
flist "ios.doc", 1, 30, "more", "m", "end of file"
open
open #<fileno>, <options$>, <name$>
close
close #<filenumber>
print#
printf#<filenumber>
input#
input#<filenumber>
delete
delete <filename$>
rename
rename <filename$>
move
move <from$>, <to$>
copy
copy <source$>, <dest$>
dir
dir <dirmask$>, <maxline>, <prompt$>, <key$>, <stopkey$>, <eofprompt$>
dir "*.*", 20, "Next", "mtp","s", "End dir"
rem
rem
linput
linput <len>, <var$>
exec
exec <prog$>, <arg$>, <enc$>
exec "IOSMAIL.TTP", "-LIT", ""
run
run <prg$>
push
push <label>
Pushes a label for return
pop
pop <depht>
---
Some sample programs are included. See them, and learn.
You can easy assign a single letter variable, for example : a$ = "IOS"
or a& = 1
Variables :
a%-z9% Byte variables
a|-z9| 16 bits
a&-z9& 32 bits
a$-z9$ string variables
I don't know if the interpeter shall work on less then 600 Kb memory.
I hope you have fun with it. It's free without any pay, but if you decide
to send an donation, this is possible.
WARRANTY
If this program doesn't work on your computer, or causes any damage to
your files, the author of this program is not responsable for any
damage caused by IOSSHELL. This program is working fine when we have
test it, so possible damage can be caused by wrong installation.
Rinaldo Visscher 1992