home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / iosmailn / iosshell.doc < prev    next >
Text File  |  1992-08-14  |  8KB  |  385 lines

  1. Welcome to IOSmail Shell program.
  2.  
  3. This program will make you easy to poll your boss with IOSmail. You can
  4. make an selection with the mouse. Even you can drag the icons to an
  5. other place on the desktop. How to use IOSshell.
  6.  
  7. If ypu start for the first time : To select the exporter, importer etc.
  8. just double click on the icon you want to activate. You see an filesectorbox
  9. where you can click the decided program. After that, you get an dialog box
  10. where you can type the parameters for the choosen program.
  11. You can select almost all the icons in this way.
  12. To start the program, just double click on the icon, and the program runs.
  13.  
  14. The drive icons are not active at this moment, so you can't start an other
  15. program from the shell. If you are familiar with the build in interpeter
  16. you can start programs, like
  17.  
  18. input "Program to start", a$
  19. exec a$, " ", "C:\"
  20.  
  21. The poll icon however, this one you must activate from the menu. You must
  22. create an poll file, as simple to click on the menuitem 'make rank' under
  23. the menu title 'Poll'. You get an dislogbox where you esally click the
  24. decided programs to run after errorlevel of your binkley mailer.
  25. For example, if your mailer exits with an errorlevel 10 after receiving
  26. mail, type in the dialogbox in the area 'expected errorlevel' the number
  27. 10, then you can decide wich program to run after this errorlevel.
  28. Then you can jump to the beneth side of the dialogbox. There are several
  29. goto's. In the above example you see (not graphical here)
  30.  
  31. Expected errorlevel execute                                Goto label
  32. 10       Import  Msgeditor                                     1
  33. 0
  34. 0
  35. 0
  36.  
  37. Labels
  38. 1         Scanner Packer
  39.  
  40. If the mailer has received mail, the shell will execute the import program
  41. en after importing the messageeditor.
  42. After leaving the message editor, the shell will see that you want to go
  43. to label 1. In label 1 there is the scan program an pack program.
  44. WARNING, the program expect that you using IOSmail, trying to run another
  45. mailtosser doesns't have effect. The program is created for IOSmail.
  46.  
  47. To click on the poll icon, which name shall be changed by the file you
  48. have choosen, will activate the mailer BT.TOS, another will not be
  49. accepted.
  50.  
  51. From the shell file you can activate the programs. If you want to change
  52. the file, single click on the icon, and goto the menuitem 'File'.
  53. Click on 'Select', and you get an new dialogbox.
  54.  
  55. To create an filesrequest, click on the menuitem 'Filereaquest'. You get an
  56. dialogbox where you can fill your filereq. To get the allfiles from the
  57. node above in the dialogbox, click on the button allfiles. An filereq
  58. is created for the allfiles. If you wnat to get other files, type the
  59. names and extensions of the files you want to req. The file created is
  60. an filereq file for binkley > 3.00.
  61.  
  62. You can also make an areafix req. from the shell. You don't have to create
  63. the message by yourself. Click on menuitem 'areafix' and an dialogbox
  64. appears. You will be ask 'connect', 'disconnect' 'cancel'.
  65. Click on the decided button. Then you can type the areas to connect, ot
  66. disconnect. An file is directly written to your outbound. This will also
  67. need binkley > 3.00
  68.  
  69. Shell files.
  70.  
  71. These shell files has the extension *.SHL. Those files are like basic
  72. programs. The shell will regonize all *.SHL files in your directoru.
  73. These SHL files are simple ascii file. No special editor is needed.
  74. If an SHL file is found, an icon is created for this SHL file. You can start
  75. it with an double click on the icon.
  76. The interpeter is not realy bugfree, but you can work with it. For
  77. example if's in if's is not realy bugfree, but if you work with it you
  78. know that that is what you can't do. The interpeter as is, you can make
  79. little programs in it. The interpeter is one of my earlier works. This
  80. interpeter is made about a 3 years ago, and is added to the shell file.
  81. As is, you can make use only of the shell without using the build in
  82. interpeter.
  83.  
  84. Commands :
  85.  
  86. print
  87. This is the old fashioned print from basic
  88.  
  89. input
  90. The input which is the same as basic input
  91.  
  92. if
  93. The if from basic. if <variable>
  94.  
  95. then
  96. then <statement>
  97.  
  98. endif
  99. Gives the end of an if statement
  100.  
  101. else
  102. if not true then else
  103.  
  104. and
  105. More for if
  106. if a=1 and b=4
  107.  
  108. or
  109. Opposite of and
  110. if a=1 or b=4
  111.  
  112. for
  113. for (var> = <number> to <number>
  114.  
  115. next
  116. To run the for instruction.
  117.  
  118. goto
  119. goto <label>
  120. if i=1 goto start
  121. ..... <code>
  122. start
  123.  
  124. gosub
  125. gosub <label>
  126. see goto
  127.  
  128. return
  129. return from gosub subroutine
  130. gosub misc
  131. .... code
  132. misc
  133. .... code
  134. return
  135.  
  136. end
  137. program end
  138.  
  139. bprint
  140. bprint "<arguments>"
  141. Backwards print
  142.  
  143. clearscr
  144. clear the screen
  145.  
  146. chr$
  147. chr$(<value>)
  148. printf chr$(48)
  149.  
  150. left$
  151. left$ (<var$>, <value>)
  152. left$ ("This is an string", 5)
  153.  
  154. mid$
  155. mid$ (<var$>, <value>, <lenght>)
  156.  
  157. right$
  158. right$ (<var$>, <value>)
  159.  
  160. space$
  161. space$ (<value>)
  162.  
  163. upper$
  164. upper$ (<var$>)
  165.  
  166. lower$
  167. lower$ (<var$>)
  168.  
  169. fupper$
  170. fupper$ (<var$>)
  171.  
  172. date$
  173. date$
  174. print date$
  175. prints the date and time on screen
  176.  
  177. instr$
  178. instr$ (<var$>, <var$>)
  179. printf instr$("this is an test", "is")
  180.  
  181. rinstr
  182. rinstr (<var$>, <var$>)
  183.  
  184. strs$
  185. strs$ (<number>)
  186.  
  187. Number routines
  188.  
  189. peek
  190. peek (<address>)
  191.  
  192. wpeek
  193. wpeek (<addres>)
  194.  
  195. lpeek
  196. lpeek (<address>)
  197.  
  198. speek
  199. speek (<address>)
  200.  
  201. swpeek
  202. swpeek (<address>)
  203.  
  204. slpeek
  205. slpeek (<address>)
  206. Example of all peek commends
  207. i=speek(1345)
  208.  
  209. rnd
  210. a=rnd
  211.  
  212. random
  213. a=random(<max number>)
  214.  
  215. len
  216. a=len (<var$>)
  217.  
  218. trim$
  219. a=trim$ (<var$>)
  220. Trims spaces
  221.  
  222. keyget
  223. a=keyget
  224. Ask for key
  225.  
  226. dfree
  227. dfree (<drivenumber>)
  228.  
  229. dused
  230. dused (<drivenumber>)
  231.  
  232. asc
  233. asc (<var$>)
  234.  
  235. abs
  236. abs (<number>)
  237.  
  238. hex$
  239. hex$ (<var$>)
  240.  
  241. exist
  242. exist (<var$>)
  243. a= exist ("IOSMAIL.TTP")
  244. 0 is not avaible
  245. any other, is avaible
  246.  
  247. lof
  248. lof (#<handle>)
  249. Lenght of file in handle
  250.  
  251. loc
  252. loc (#<handle>)
  253.  
  254. eof
  255. eof (#<handle>)
  256.  
  257. Loops to be used
  258.  
  259. repeat
  260. repeat
  261.  
  262. until
  263. until <condition>
  264.  
  265. while
  266. while <condition>
  267.  
  268. wend
  269. wend
  270.  
  271. do
  272. do
  273.  
  274. loop
  275. loop
  276.  
  277. break
  278. break
  279.  
  280. poke
  281. poke <number>, <number>
  282.  
  283. wpoke
  284. lpoke
  285. spoke
  286. swpoke
  287. slpoke
  288.  
  289. on
  290. on <x> <gosub, goto>, <labels>
  291.  
  292. switch
  293. switch <varible>
  294.  
  295. case
  296. case <expression>
  297.  
  298. default
  299. default
  300.  
  301. cont
  302. cont
  303.  
  304. endswitch
  305. Make end on switch command
  306.  
  307. Files open, handle, close
  308.  
  309. flist
  310. flist <file$>, <from line>, <to line>, <prompt$>, <key $>, <eofprompt$>
  311. List an ascii file file$ from line to line
  312. flist "ios.doc", 1, 30, "more", "m", "end of file"
  313.  
  314. open
  315. open #<fileno>, <options$>, <name$>
  316.  
  317. close
  318. close #<filenumber>
  319.  
  320. print#
  321. printf#<filenumber>
  322.  
  323. input#
  324. input#<filenumber>
  325.  
  326. delete
  327. delete <filename$>
  328.  
  329. rename
  330. rename <filename$>
  331.  
  332. move
  333. move <from$>, <to$>
  334.  
  335. copy
  336. copy <source$>, <dest$>
  337.  
  338. dir
  339. dir <dirmask$>, <maxline>, <prompt$>, <key$>, <stopkey$>, <eofprompt$>
  340. dir "*.*", 20, "Next", "mtp","s", "End dir"
  341.  
  342. rem
  343. rem
  344.  
  345. linput
  346. linput <len>, <var$>
  347.  
  348. exec
  349. exec <prog$>, <arg$>, <enc$>
  350. exec "IOSMAIL.TTP", "-LIT", ""
  351.  
  352. run
  353. run <prg$>
  354.  
  355. push
  356. push <label>
  357. Pushes a label for return
  358.  
  359. pop
  360. pop <depht>
  361.  
  362. ---
  363.  
  364. Some sample programs are included. See them, and learn.
  365. You can easy assign a single letter variable, for example : a$ = "IOS"
  366. or a& = 1
  367. Variables :
  368.  
  369. a%-z9% Byte variables
  370. a|-z9| 16 bits
  371. a&-z9& 32 bits
  372. a$-z9$ string variables
  373.  
  374. I don't know if the interpeter shall work on less then 600 Kb memory.
  375. I hope you have fun with it. It's free without any pay, but if you decide
  376. to send an donation, this is possible.
  377.  
  378. WARRANTY
  379. If this program doesn't work on your computer, or causes any damage to
  380. your files, the author of this program is not responsable for any
  381. damage caused by IOSSHELL. This program is working fine when we have 
  382. test it, so possible damage can be caused by wrong installation.
  383.  
  384. Rinaldo Visscher 1992
  385.