Changeset 4752
- Timestamp:
- Oct 15, 2021, 1:45:13 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/gui/nepmdlib/macros/readfilepart.e ¶
r4751 r4752 145 145 endif 146 146 147 -- Strange: Must check if file exists first. If NepmdReadFilePart tries 148 -- to open a non-existant file, an OS/2 window (start /win) closes 149 -- immediately and an EPM command shell fails with SYS0006. This works 150 -- around that E flaw: 151 if not Exist( Filename) then 152 rc = 2 153 return 154 endif 155 147 156 BytesRead = 1234 148 157 … … 162 171 HelperNepmdCheckLibError( LibFile, rc) 163 172 BytesRead = ltoa( BytesRead, 10) 164 dprintf( 'NepmdReadFilePart( 'Filename', 'Bufflen'), rc = 'rc', BytesRead = 'BytesRead)165 173 166 174 if rc then
Note:
See TracChangeset
for help on using the changeset viewer.