Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
Hi, Does anyone know a way within ALL-IN-1 programming to determine if a .WPL file actually contains a valid WPS-PLUS format file, against simple incorrect ASCII text. The TEXT_FILE and COPY functions don't seem to set OA$STATUS if there is merely ASCII text inside the input file. Any ideas of a suitable DSR? The list function seems to get upset about such files, but I don't know how to trap a returned message or to stop the output if the file is OK. Thanks in advance, Robert. p.s. this question was part of the 20/20 topic (642.3), but I hid the question in there quite well!
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
834.1 | Stab in the dark | MDCRAB::HOWARD | Our business is computers not money | Fri Jun 12 1992 05:58 | 4 |
Can you get TEXT_FILE to tell you the ruler settings? Won't it tell you that there isn't a ruler? Ben | |||||
834.2 | GET giving a Ruler back | KETJE::CAPPELLEMANS | The Dark side of the \FORCE | Fri Jun 12 1992 13:05 | 7 |
re :-1 Even if i'ts a ASCII file it comes back with a ruler like L-------T-------T------T... and checking for that type of ruler will not help as you can craete such a Ruler in WPS-PLUS Pierre | |||||
834.3 | First record TYPE is ruler? | SANFAN::LESLIE_DA | Greetings & Solutions | Mon Jun 15 1992 05:22 | 3 |
Maybe -.2 has a good idea after all. I believe if you open the file (using TEXT_FILE) the first record would be a ruler. The record type should indicate ruler, maybe this will help? |