Jump to content

FileREXX: Difference between revisions

From EDM2
Created page with "==Description== FILEREXX.DLL is a REXX Function Library. It adds "commands" to the REXX language, which a REXX script (i.e., program) can call. These commands offer alterna..."
 
Ak120 (talk | contribs)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
[[FILEREXX.DLL]] is a REXX Function Library. It adds "commands" to the [[REXX]] language, which a REXX script (i.e., program) can call. These commands offer alternatives to the REXX file reading/writing routines which make it possible to access the same files from multiple running scripts (i.e., allow file sharing). FileRexx also makes it much easier to read/write files containing binary values. There are also routines which vastly simplify device (i.e., driver) I/O, and make some driver control possible which standard REXX doesn't allow. Finally, FileRexx offers a lot more parsing options when reading a line, thus eliminating the need to parse a line into separate pieces, or using TRANSLATE to change the case.
FILEREXX.DLL is a REXX Function Library. It adds "commands" to the REXX language, which a REXX script (i.e., program) can call. These commands offer alternatives to the REXX file reading/writing routines which make it possible to access the same files from multiple running scripts (i.e., allow file sharing). FileRexx also makes it much easier to read/write files containing binary values. There are also routines which vastly simplify device (i.e., driver) I/O, and make some driver control possible which standard REXX doesn't allow. Finally, FileRexx offers a lot more parsing options when reading a line, thus eliminating the need to parse a line into separate pieces, or using TRANSLATE to change the case.


==Download==
;Files
* [filerx11.zip]
* [[FILEREXX.DLL]]
 
==Functions==
;DLL Setup and Cleanup
* FileAddFuncs - register functions
* FileDropFuncs - drop functions
;Open/Close a File/Device
* FileOpen - open a file or device
* FileClose - close a file or device
;Read data from a File/Device
* FileRead - read data from file or device
* FileGets - read one line of text
* FileReadValue - read value from open file (1, 2 or 4 bytes)
* FileReadBlock - read character from open file
;Write data to a File/Device
* FileWrite - write data to open file
* FilePuts - write text line to open file
* FileWriteValue - write values
;Setting/Querying the file position for read/write
* FileSeek - skip over bytes
;Setup/Control a Device or query its settings
* FileDevIOCtl - device specific operation
;Querying information about a File/Device
* FileGetInfo - file information, attributes, EA
;Delete/Copy/Move Files
* FileDeleteFile - delete a file
* FileMoveFile - move a file
* FileCopyFile - copy a file
;Create/Delete Directories
* FileMkDir - create directory
* FileRmDir - remove directory
;List/Search Files/Directories
* FileMatchFile - find first/next file
* FileSearchPath - search specified path
;Query information about Drives/Devices
* FileDriveMap - drive list with attributes
* FileDevInfo - drive/device information
;Parse/Edit File/Directory/Drive names, Change/Query current Drive
* FileGetPath - split filespec
* FileEditName - filename transform
 
* FileSysInfo - operating system information
* FileIterateExe - iterates external program
* FileBit - binary expression operations
* FileDoSleep - delay


==License==
==License==
* Freeware for commercial and individual use.
* Author: [[Jeff Glatt]]


==Author==
==Links==
* [[Jeff Glatt]]
* Version 1.1: [filerx11.zip]


[[Category:Software]]
[[Category:REXX Function Library]]

Latest revision as of 14:18, 16 September 2024

FILEREXX.DLL is a REXX Function Library. It adds "commands" to the REXX language, which a REXX script (i.e., program) can call. These commands offer alternatives to the REXX file reading/writing routines which make it possible to access the same files from multiple running scripts (i.e., allow file sharing). FileRexx also makes it much easier to read/write files containing binary values. There are also routines which vastly simplify device (i.e., driver) I/O, and make some driver control possible which standard REXX doesn't allow. Finally, FileRexx offers a lot more parsing options when reading a line, thus eliminating the need to parse a line into separate pieces, or using TRANSLATE to change the case.

Files

Functions

DLL Setup and Cleanup
  • FileAddFuncs - register functions
  • FileDropFuncs - drop functions
Open/Close a File/Device
  • FileOpen - open a file or device
  • FileClose - close a file or device
Read data from a File/Device
  • FileRead - read data from file or device
  • FileGets - read one line of text
  • FileReadValue - read value from open file (1, 2 or 4 bytes)
  • FileReadBlock - read character from open file
Write data to a File/Device
  • FileWrite - write data to open file
  • FilePuts - write text line to open file
  • FileWriteValue - write values
Setting/Querying the file position for read/write
  • FileSeek - skip over bytes
Setup/Control a Device or query its settings
  • FileDevIOCtl - device specific operation
Querying information about a File/Device
  • FileGetInfo - file information, attributes, EA
Delete/Copy/Move Files
  • FileDeleteFile - delete a file
  • FileMoveFile - move a file
  • FileCopyFile - copy a file
Create/Delete Directories
  • FileMkDir - create directory
  • FileRmDir - remove directory
List/Search Files/Directories
  • FileMatchFile - find first/next file
  • FileSearchPath - search specified path
Query information about Drives/Devices
  • FileDriveMap - drive list with attributes
  • FileDevInfo - drive/device information
Parse/Edit File/Directory/Drive names, Change/Query current Drive
  • FileGetPath - split filespec
  • FileEditName - filename transform
  • FileSysInfo - operating system information
  • FileIterateExe - iterates external program
  • FileBit - binary expression operations
  • FileDoSleep - delay

License

  • Freeware for commercial and individual use.
  • Author: Jeff Glatt

Links

  • Version 1.1: [filerx11.zip]