home *** CD-ROM | disk | FTP | other *** search
- 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 from AMOK #62 by Kai Bolay. The complete
- documentation for this Library is also on that disk.
-
- 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.
-
- 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 found on the AMOK disk.
-
- 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; pattern:ARRAY OF CHAR):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 are
- used.
- pattern: Patten to be used. If you don't need a pattern gadged pass "".
-
- 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
-