home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 6
/
Sonderheft_6-96.iso
/
pd
/
libraries
/
reqtools
/
glue
/
m2amiga
/
m2amiga_glue.lha
/
ReqTools.doc
< prev
next >
Wrap
Text File
|
1992-08-11
|
2KB
|
44 lines
Documentation for the files ReqTools.def, ReqToolsDemo,
ReqToolsSupport and ReqTFileReq
ReqTools.def (Interface to reqtools.library from Nico Francois) and ReqTools-
Demo.mod (demo program for reqtools.library) are direct conversions into
Modula of the Oberon versions by Kai Bolay.
If you want to use the functions EZRequestA, EZRequestTags, EZRequest,
vEZRequestA, vEZRequestTags or vEZRequest in Modula you must use the
functions from ReqToolsSupport. The original functions use register A4 for
parameter passing. This is impossible in Modula. This problem is surpassed
by ReqToolsSupport. Alternatively you can delete the parameter argarray, if
you do not need it.
If you use the Library in your own programs please consider that it is
copyrighted by Nico François. Further information can be found in the file
DISTRIBUTION.
The module ReqTFileReq simplifies the use of the Filerequester of the
reqtools.library.
The one and only procedure is:
PROCEDURE FileReq (VAR FName:ARRAY OF CHAR; Window:ADDRESS;
Title:ARRAY OF CHAR;x,y:INTEGER;VAR pattern:ARRAY OF CHAR;
save:BOOLEAN):BOOLEAN;
FName: The total filename including path. This serves as a template as
well as result.
Window: The window for the requester
Title: The title of the requester
x,y: The coordinates of the requester relative to the screen on which
the requester open. If they are smaller than 0 the default of the
requester is used.
pattern: Pattern to be used. If you don't need a pattern gadged pass "".
Therefor the variable NoPat from ReqTFileReq can be used, too.
save: IF you pass TRUE, the flag fReqSave is set. Then Double-clicking
will be disabled and a non-existent directory can be created.
If TRUE is returned a file was selected. This file is returned in FName.
Is FALSE returned no file was selected (e.g.: Cancel or Close-Gadget or
the requester couldn't be openen). FName is not altered in this case.
Frank