SecureUser
VERBatim - V25
@ATTACK - @Files.System
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
REVMEDIA Revisted
QUERY.SUB
QTIPS - Query Windows - Changing Colours
Readers Clinic - Quickly Coping with \
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
RTP Series - RTP42
RTP Series - RTP51
Reader's Clinic - AREV Runtime
@ATTACK - @PDisk.On
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
AREV Comes to Czechoslovakia Les Palenik, Cosmotron Systems
Reader's Clinic - Screen Width
VERBatim - V41
VERBatim - V124
VERBatim - V124DBG
VERBatim - V86
@ATTACK - @Help.Level
@ATTACK - @Window.Level
Reader's Clinic - Functions and Subroutines
Argument passing - Subroutines and Functions - Mike Pope
VERBatim - V119
VERBatim - V125
VERBatim - V118
Advanced Revelation Assembler Interface Module - Yves Pattyn, Technical Manager, Distribase, France
VERBatim - V70
VERBatim - V124
Reader's Clinic - Functions and Subroutines
Reader's Letters - Jim Owen
Playing with Scan Codes
Argument passing - Subroutines and Functions - Mike Pope
QTIPS - Fast Dynamic Array Building
Argument passing - Subroutines and Functions - Mike Pope
Caching in on the Frames Array - Mike Pope
QTIPS - Fast Dynamic Array Building
Utility Diskette # 3 - Part I
Utility Diskette # 3 - Part II
DOS Interfacing (Part II)
QTIPS - Break-On Date Fields
IConvs / OConvs
QTIPS - @Date.Format
@ATTACK - @Date.Format
QTIPS - Short Cut Implicit Formatting
Utility Diskette # 4
QTIPS - File Naming - RLIST Problems
Creating Your Own Background Processes
@ATTACK - @Last.Select.Process
Reader's Forum
QTIPS - Menu Item Pre-Processing
RTP Series - RTP9
RTP Series - RTP50
VERBatim - V25
@ATTACK - @Files
Utility Diskette # 3 - Part I
DOS Interfacing (Part I)
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
DOS Interfacing (Part I)
DOS Interfacing (Part I)
QTIPS - DOSTime
VERBatim - V11
@ATTACK - @Backgrnd.Time
@ATTACK - @Index.Time
QTIPS - Time-outs in Windows
@ATTACK - @Modal
QTIPS - DOSTime
DOS Interfacing (Part I)
Reader's Clinic - Different Id Same Record
RTP Series - RTP25
QTIPS - String Space
Reader's Letters - Jim Owen
QTIPS - Finding/Replacing Spaces With The Editor
QTIPS - RLIST Average / Total Results
Version 2
DOS Interfacing (Part I)
Vroom
QTIPS - Replacing GAS.BAR routine during PERFORM "SELECT"
QTIPS - Extended Select BY
QTIPS - PERFORM Arguments and FMT Specifications
What's New (and un(der)documented!) In 2.12
RTP Series - RTP50
@ATTACK - @Messages
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Caching in on the Frames Array - Mike Pope
Reader's Clinic - Line Length > 256 Characters
QTIPS - String Space
QTIPS - String Space Format Errors
Reader's Forum - Numeric Precision in R/Basic - Hal Wyman
Vroom
Vroom - Window Processing
Reader's Forum
VROOM - Doubling MFS Write Speed
Playing with Scan Codes
QTIPS - Compiling Protection Code
QTIPS - Invalid Code and Command
QTIPS - Code/Command Help
Compiling 64K on a Shoestring by Blaise Wrenn (LexStat Systems Ltd)
VERBatim - V70
VERBatim - V123
VERBatim - V124
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

RevMedia FKB

DocumentV1I4A7
TitleDOS Interfacing (Part I)
KeywordsDOS
DIR
DIRLIST
DISKSIZE
DOSTIME
DSPACE
INITDIR
MEMSPACE
MONITOR
PRNSTAT
TextThe system contains many COMMANDS which can be used both to query the DOS
environment for information and to interface WITH it In this the first
article of a two part series we consider those AREV routines which can be
used to query the environment NB V124 is not documented here as it is a
higher level subroutine If wanted this routine (an assembler routine to
manipulate the serial port) can be addressed in a later issue

DIR
Internal function that returns a dynamic array WITH three parts part 1 the
file size in bytes part 2 the date in internal format and part 3 the time
in internal format Usage is x = DIR(Filename) where Filename includes the
path

DIRLIST
Internal function When there is a requirement to process the DOS files on a
drive INITDIR is used to establish the file SPEC to use and then DIRLIST()
returns filenames matching the SPEC in blocks of approximately 1160 bytes
with the NAMES @FM delimited DIRLIST should be used in a LOOP looping
until DIRLIST returns null CALLING syntax x = DIRLIST()

DISKSIZE
Younger brother of DSPACE (q v ) Function WITH one passed parameter (the
drive letter) Returns a dynamic array WITH two values the first the disk
size the second the bytes free CALLING syntax INFO = DISKSIZE("C")

DOSTIME
Subroutine WITH one passed parameter Returns clock time in eighteenths of a
second CALLING syntax CALL DOSTIME

DSPACE
Subroutine WITH six passed parameters Given the DRIVE id (A) it returns
the free space (B) the amount of free clusters (C) the sectors per
cluster (D) the bytes per sector (E) and the total number of clusters (F)
Calling syntax CALL DSPACE(A B C D E F)

INITDIR
Internal STATEMENT that initialises a FILTER to apply to subsequent
DIRLISTs Any valid DOS DRIVE spec/file wildcards can be used Calling
syntax INITDIR (Filespec)

MEMSPACE
Function WITH one passed parameter MEMSPACE will perform various
garbagecollects and flushes to free up the amount of memory you requested in
the passed parameter The amount of memory freed up will be returned as the
result of the function It is used to call MEMSPACE WITH a very large number
(E g 999999) as this will then clear up ALL available string space and
report back how much is available Your routine can then decide if there is
enough memory to proceed The less usual method of CALLING MEMSPACE WITH the
amount of memory required is used where speed is absolutely critical and
extra flushes are to be avoided AFTER declaring as a function calling
syntax is FREE SPACE = MEMSPACE(x)

MONITOR
Subroutine WITH one passed parameter Returns a code of 3 for a colour
monitor all other codes probably meaning mono CALLING syntax CALL
MONITOR(X)

PRNSTAT
Subroutine WITH one passed parameter Checks the parallel port and returns a
code indicating port status Useful for avoiding "Abort Retry Ignore"
messages Code of 0 means PRINTER OK 1 No Printer 2 Paper Out 3 Printer
Off LINE CALLING syntax CALL PRNSTAT(X)


(Volume 1 Issue 4 Pages 4 9)
[revmedia/copyrigh.htm]

Page last modified: 08/02/03