224 |
224 |
225 Also notice, that some OperatingSystems do not fully support |
225 Also notice, that some OperatingSystems do not fully support |
226 positioning a file stream. |
226 positioning a file stream. |
227 For example, poor VMS does not allow positioning onto arbitrary |
227 For example, poor VMS does not allow positioning onto arbitrary |
228 byte boundaries if the file is a variable-record-RMS file. |
228 byte boundaries if the file is a variable-record-RMS file. |
229 (stupid enough, this is the default for textfiles as created by |
229 (stupid enough, this is the default for textfiles as created by some tools ...) |
230 some tools ...) |
|
231 Therefore, the instance variable canPosition is set according to |
230 Therefore, the instance variable canPosition is set according to |
232 this and an error is raised, if a position: is attemted. |
231 this and an error is raised, if a position: is attemted. |
233 I know, this is ugly, but what else could we do ? |
232 I know, this is ugly, but what else could we do ? |
|
233 Late note: who cares for VMS these days? |
|
234 (and how much useless effort has been put in the past, |
|
235 to support lousy operating systems?) |
234 |
236 |
235 [instance variables:] |
237 [instance variables:] |
236 pathName <String> the files path (if known) |
238 pathName <String> the files path (if known) |
237 canPosition <Boolean> positionable - read above comment |
239 canPosition <Boolean> positionable - read above comment |
238 |
240 |
239 [author:] |
241 [author:] |
240 Claus Gittinger |
242 Claus Gittinger |
241 |
243 |
242 [see also:] |
244 [see also:] |
243 Filename DirectoryStream PipeStream Socket |
245 Filename DirectoryStream PipeStream Socket |
244 " |
246 " |
245 ! |
247 ! |
246 |
248 |
247 examples |
249 examples |
248 " |
250 " |
1972 ! ! |
1974 ! ! |
1973 |
1975 |
1974 !FileStream class methodsFor:'documentation'! |
1976 !FileStream class methodsFor:'documentation'! |
1975 |
1977 |
1976 version |
1978 version |
1977 ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.161 2013-07-06 16:40:00 cg Exp $' |
1979 ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.162 2013-07-06 16:43:14 cg Exp $' |
1978 ! |
1980 ! |
1979 |
1981 |
1980 version_CVS |
1982 version_CVS |
1981 ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.161 2013-07-06 16:40:00 cg Exp $' |
1983 ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.162 2013-07-06 16:43:14 cg Exp $' |
1982 ! ! |
1984 ! ! |
1983 |
1985 |
1984 |
1986 |
1985 FileStream initialize! |
1987 FileStream initialize! |