Category : Miscellaneous Language Source Code
Archive   : KINOOP.ZIP
Filename : COMP.KIN

 
Output of file : COMP.KIN contained in archive : KINOOP.ZIP
User-Defined Functions

kin mac("HELPFILE 'kin.doc'");

-----------------------
gamut(table, dimension)

Returns the set of elements
in a given dimension. For
example, for table 'a' with
shape '3 3 1', the call
gamut(a,2) returns '1 2 3',
the members of dimension 2.
-----------------------
kin gamut=$;
kin fill(shape(0,slice(shape(parm(1)),parm(2))));

kin comp('gamut');


-----------------------
gets(prompt)

Presents a prompt to the
terminal and accepts
and returns terminal input.
-----------------------
kin gets=$;
kin r(2),
_a=show(string),
set(string,inprompt,parm(1)),
set(string,tail,strcon('\n')),
_=$$,
set(string,inprompt,get(_a,inprompt)),
set(string,tail,get(_a,tail)),_;

kin comp('gets');

-----------------------
help(key)

Performs lookup in help file
for the pages containing the
'key'. Based on help file
'c1.txt'. Pauses output
dump on 20 line intervals.
-----------------------
kin help=$;
kin r(2),i=1,
output('s'),
look(parm(1),HELPFILE),
output(''),
while(not iseof, (
c=fill(shape(0,20),i),
i=i+20,
$=text(get(s,c)),
if(not shown(eof),
($='_________________ Continue , or Stop ? ______________________',
_1=$$),
break())
)),set(numeric,eof,0),r(2);

kin comp('help');



  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : KINOOP.ZIP
Filename : COMP.KIN

  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/