DataMuseum.dk

Presents historical artifacts from the history of:

RegneCentralen RC759 "Piccoline"

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RegneCentralen RC759 "Piccoline"

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦e40a17ba4⟧ TextFile

    Length: 640 (0x280)
    Types: TextFile
    Names: »DB/LOKAL.ISE«

Derivation

└─⟦eca9022c5⟧ Bits:30002661 Datalære sådan - løsningsdiskette
    └─ ⟦this⟧ »DB/LOKAL.ISE« 

TextFile

7000 PROC lokaliser(søgenøgle$,fra,til,REF fundetnr) CLOSED
7010   IMPORT antalfelter,feltnavne$,antalposter,postlængde
7020   DIM svar$ OF 1,postindhold$(antalfelter) OF 25,post$ OF postlængde
7030   fundetnr:= -1
7040   READ FILE 1,101: antalposter
7050   IF fra<1 THEN fra:= 1
7060   IF til>antalposter THEN til:= antalposter
7070   nr:= fra-1
7080   REPEAT 
7090     nr:= nr+1
7100     READ FILE 1,nr: post$
7110     IF søgenøgle$ IN post$ THEN fundetnr:= nr
7120   UNTIL fundetnr>0 OR nr>=til
7130 ENDPROC lokaliser
«eof»