On 12/22/2020 7:49 PM,
[email protected] wrote:
Would anyone have a good skeleton for a KEYEDIOII program written in ALGOL? I seem to be having some trouble navigating the necessary procedure call invocations to make a new KEYEDIOII file.
Thanks.
REAL RRSLT;
ARRAY FILEINFO[0:15];
FILEINFO[0]:=0 & 1 UNITSF
& 1 NUMKEYSF;
FILEINFO[1]:=0 & BLK_SZ BLOCKSIZEF
& REC_SZ MAXRECSIZEF;
FILEINFO[2]:=0 & 1 KEYFLAGF
& 0 ALTERNATEKEYF
& 0 DUPLICATEF
& 1 KEYORGANIZATIONF
& 0 KEYGROUPF
& 0 KEYINTLF
& 0 KEYSIGNPOSITIONF
& 8 KEYTYPEF
& 7 KEYLENGTHF
& 0 KEYOFFSETF;
MYFILE.NEWFILE:=TRUE;
RRSLT:=ISMOPEN(MYFILE,FILEINFO,VALUE(OUT));
This will create a new file. Once created, use the other ISMxxx
procedures to write to the file.
Hope this helps. Let me know if you need a more complete/detailed sample.
...Thomas
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)