diff options
Diffstat (limited to 'src/algebra/files.spad.pamphlet')
-rw-r--r-- | src/algebra/files.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/files.spad.pamphlet b/src/algebra/files.spad.pamphlet index 82fac4e6..695db887 100644 --- a/src/algebra/files.spad.pamphlet +++ b/src/algebra/files.spad.pamphlet @@ -364,7 +364,7 @@ KeyedAccessFile(Entry): KAFcategory == KAFcapsule where ks: List Symbol := RKEYIDS(f.fileName)$Lisp null ks => error ["Attempt to read empty file", f] ix := random()$Integer rem #ks - k: String := PNAME(ks.ix)$Lisp + k: String := string(ks.ix) [k, SPADRREAD(k, f.fileState)$Lisp] write!(f, pr) == f.fileIOmode ~= "output" => error ["File not in write state",f] |