QTIPS - DOS File Names
DOS Interfacing (Part II)
VERBatim - V116
@ATTACK - @Pri.File
@ATTACK - @Rollout.File
File Variables
How Indexes Are Updated
Index Record Layouts
QTIPS - File Variable of File In SELECT Statement
QTIPS - Amending non-Attached Files
LINEAR HASH FILE STRUCTURES - Part 1
Index Flush
QTIPS - File Handle Structure
Prompt Help
QTIPS - Improved Menu Help 1
QTIPS - Improved Menu Help 2
@ATTACK - @Macro.Hex
Playing with Scan Codes
Uncommon Knowledge - WC_Detail_Help%
Uncommon Knowledge - WC_Protect_Help%
QTIPS - Standardising Error Message Display
QTIPS - Standardising Error Message Display
QTIPS - Truncating DOS Files
@ATTACK - @File.Error
@ATTACK - @File.Error.Mode
@ATTACK - @Last.Error
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
RTP5 and RTP51
QTIPS - Standardising Error Message Display
QTIPS - Interrupt Proof Error Messages
Version 3 Technical Highlights - ValidateName
Version 2
Directory Exists on Novell
Gas Bar
Prompt Help
DOS Interfacing (Part II)
@ATTACK - @Help.Level
@ATTACK - @StatList
QTIPS - Standardising Error Message Display
Video Control
Customising the Status Line
@ATTACK - @File.Error
@ATTACK - @Rn.Counter
Reader's Clinic - Related Windows
File Variables
Argument passing - Subroutines and Functions - Mike Pope
RevTech Replies - Mike Pope (RevTech UK Ltd)
Symbol Table Structure
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Standardising Error Message Display
Capture Playback and Convert.Keystrokes
@ATTACK - @File.Error
@ATTACK - @File.Error.Mode
QTIPS - Standardising Error Message Display
Version 3 Technical Highlights - ValidateName
Reader's Clinic - Naming Routines
Reader's Clinic - Prompting for Passwords
Reader's Clinic - Removing "Searching Cross References" Message
Message
Trapping Message Calls
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Standardising Error Message Display
QTIPS - Interrupt Proof Error Messages
QTIPS - Improving the Message Window
Version 3 Technical Highlights - New Message Types
Utility Diskette # 4
@ATTACK - @Modal
Reader's Clinic - Screen Width
VERBatim - V41
RTP5 and RTP51
RevTi Just Wanna Have Fun
QTIPS - DOS File Names
RTP Series - RTP53A
RTP Series - RTP53B
RTP Series - RTP57A
QTIPS - Printing Large Variables from the Debugger
DOS Interfacing (Part I)
DOS Interfacing (Part II)
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Utility Diskette # 3 - Part I
Reader's Forum - Mark Hirst Revelation C Interface - Part 1
Reader's Forum The C Interface Part 2 - Mark Hirst (Senior Techie - ICS) Reader's Clinic
QTIPS - File Naming - RLIST Problems
2.1 Highlights
REVMEDIA Revisited
QTIPS - Menus Without an Action Bar
Reader's Clinic - Page Marks in Windows

RevMedia FKB

DocumentV3I8A6
TitleQTIPS - Standardising Error Message Display
KeywordsMSG
MESSAGE
OSBREAD
OSBWRITE
STATUS
OSERROR
@FILE.ERROR
BFS
TextDevelopers keen to apply consistent standards when creating applications
have been aided by the introduction of FSMSG which can be used for reporting
on all BFS file i/o PROBLEMS Unfortunately it does not help when errors are
encountered USING standard OS functions such as OSBREAD and OSBWRITE which
return error status in the STATUS() variable

An undocumented routine called OSERROR can be used to convert the STATUS()
value into a meaningful @FILE ERROR message suitable for use WITH FSMSG The
routine takes four parameters as follows

Call OSERROR ( Unknown Environment File Status )

where Unknown seems not to be used Environment contains a literal to
include in error messages indicating the environment originating the error
(E G DOS/ MSDOS) File contains the filename to include in the error
message and Status contains the error status generated by the i/o action
Sample usage follows

Osbread Chunk FROM Os_File At X Length 60000
If Status() Then
Status = Status()
Call Oserror("" "DOS" File Status)
Call Fsmsg()
End


(Volume 3 Issue 8 Page 9)
[revmedia/copyrigh.htm]

Page last modified: 31/01/03