FAPP (Filer Application)


This new command allows you to write applications that deal with files using Filer48's interface, it takes three arguments from the stack:

Level Argument
3: Path
2: Types
1: Menu

Path


This argument specifies the initial path, for example:


Path Meaning
{ } Start in HOME directory.
{ MATH } Start in HOME\MATH directory.

Types


This argument allows to select the object types that should be displayed, it is a list containing the object types (real numbers) that will be allowed according to the table below.


Type Constant Object
0 cDir Directory
1 cAccptr Access Pointer
2 cAlg Algebraic
3 cAunit Aunit Object
4 cBak Backup
5 cHex Hex String #Fh
6 cBint Binary Integer <#Fh>
7 cChar Char
8 cCode Code
9 cCplx Complex Number
10 cEcplx Extended Complex
11 cEreal Extended Real
12 cExt1 Extended Object 1
13 cExt External
14 cFont Font Object
15 cGlobal Global Name
16 cGrob Grob
17 cLarry Linked Array
18 cLdata Library Data
19 cLib Library
20 cList List
21 cLocal Local Name
22 cMat Matrix
23 cReal Real Number
24 cSys System Program
25 cStr String
26 cTag Tagged Object
27 cUnit Unit
28 cUser User Program
29 cXlib Xlib Name
30 cZip Zip File (BZ)

NOTE: The Constant column lists the name of a constant that you should use when programming, this constants are listed in the Filer48.h file inside the custom directory.

For example if you want to display only Directories, Lists and Strings then this parameter should be: { cDir cList cStr }.

If you want to display all kinds of objects then this parameter should be an empty list: { }


Menu


This argument specifies the Menu keys and hard key assignments, it is a list with one element for each menu key, it uses the same structure as the F48.CST list, so read the Customizing Filer48 documentation for details...