Category : Files from Magazines
Archive   : AIOCT86.ZIP
Filename : SMALLX3.BBS

 
Output of file : SMALLX3.BBS contained in archive : AIOCT86.ZIP


Iî thå nexô figurå thå Small-Ø ruleó needeä tï reaä á filå anä 
accumulatå thå elementó reaä intï á lisô ió shown.

if not in-memory(#list) then
{
%
% initialize the list, open the input file and read an
% element of the list
%
bind #list []
open 'data.fil' as infile for input
read file infile #element
}
[reader] if #element <> 'end of file' then
{
%
% as long as we have not reached the end of file add
% the element to the list and read another. Make this
% rule available to be fired again.
%
compute #list <- #list + #element
read file infile #element
reset reader
}
[halter] if #element = 'end of file' then
{
%
% when end of file is reached close the input file
% and halt the engine
%
close infile
halt
}



  3 Responses to “Category : Files from Magazines
Archive   : AIOCT86.ZIP
Filename : SMALLX3.BBS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/