®All Platforms
NEW FEATURES GUIDE
|
|
|
|
|
|
|
|
|
|
| BLOB fields! | Text/memo fields! | ODBC - Client Side! | |
![]()
| NEW EDITING/DEBUGGING/INDEXING FUNCTIONALITY |
Toggle insert mode is now available in every place where you enter data into fields during filePro development and runtime execution.
|
hitting multiple F1's etc. This has been the case for *cabe but 5.0 extends this functionality to *clerk, ddefine, dmakemenu, short and extended selection sets to name a few. You toggle the insert mode using Alt-F9 in Dos/Native and typically Ctrl-Z in UNIX |
![]() |
![]() |
![]() |
![]() |
|
Descending Automatic Indexes are now supported. |
![]() |
Index Selection F7 with no value goes to last record:
|
|
Dxmaint no longer builds indexes without a major key sort specified:
|
|
You can now 'hide' indexes:
|
|
|
This new octal syntax is in addition to the existing hexadecimal ("0x" prefix) and normal decimal syntax. |
| L - Displays all lookups within
this processing table, along with their status. (closed/failed/open)
An '*' marks which is the current lookup for the given alias. F - Displays all open files. |
![]() |
![]() |
![]() |
![]()
| NEW BLOB fields |
| filePro 5.0 includes support for BLOBs (Binary Large OBjects). Items such as sound clips, pictures, or even entire word processor documents can be stored within a filePro record. New functions allow you to store and retrieve these objects for use by external programs to display, edit, print, or otherwise manipulate them. |
BLOB/MEMO notes:
|
![]()
| NEW Text/memo fields |
| filePro 5.0 includes
built-in memo fields. Such fields will word-wrap within a user-defined
area on the screen or output format. If you change the size of this region,
the word-wrap will change accordingly.
Memo fields are stored as plain-text BLOBs. See MEMO/BLOB notes above. |
![]()
| NEW ODBC- Client Side |
| filePro 5.0 will
allow you to access ODBC databases as you are able to access a filePro
file. Using ddefine you will be able to specify a file as an (existing)
ODBC database filePro will automatically build a map based on the record
structure of the ODBC file.
Then you will able to access this file as you would any other filePro file including but not limited to lookups in processing, output formats, *clerk, *report etc. |
![]()
| NEW COMMANDS |
| Turn on/off ability
to enter background via "!G".
Note that you cannot turn it on if PFBACKGROUND=OFF. (BACKGROUND ON will be ignored.) |
| Forces the cursor
on/off, or restores the default behavior.
Example: CURSOR OFF
|
| Returns the filename
of the handle specified by yy. The handle must be a value returned from
OPEN() or CREATE(). Invalid handles return null.
This could be useful in a generic CALL routine where the filename isn't known. |
| GUI and NOT GUI allows you to test if you are running under a GUI fPclient environment or not |
| SAVE is a synomyn of "ESCAPE" |
| Returns the text
portion of an output format as did READSCREEN()
XX = READOUTPUT( filename, formatname [ , section ] ) Where "filename" is the name
of the filePro file, and "formatname" is the output format name.
The currently supported sections
are:
If the output format cannot be read (ie: doesn't exist) then READOUTPUT() returns a null value. |
| NewFINANCIAL Functions |
| NewHYPERBOLIC Functions |
|
xx = SINH(yy)
|
| NewMATH Function |
|
Returns X raised to the power of Y. (Y can be fractional.)
|
![]()
| New & Enhanced @LABEL's |
| @ONCE
The event labeled by @ONCE
will be executed once at the beginning of the output phase in *report,
before the first record is processed with output processing.
|
![]()
| Enhanced .prc COMMANDS |
HTML
|
The HTML command has been enhanced to include many new commands and flags corresponding to a number of HTML commands that were not implemented with the inital 4.8 release including: :FN for <FONT>
|
| Enhanced to allow
you to set and display a default input value
|
![]() |
![]() |
| Enhanced to take an optional 8th parameter, which is the position of the initial highlight. |
![]() |
| Enhanced so that,
if not on the left side of an assignment, to allow expressions as the first
parameter. Example:
MSGBOX "You were born in the year" < mid(InfoFile[5],"7","4")
|
| Enhanced so that they will now accept long-named
variables as the second parameter
|
| Enhanced to return
the text, graphics, and color portion of a screen as a series of 1600-character
field (sections 3-6 are new for 5.0)
XX = READSCREEN( filename, screenname [ , section ] ) Where "filename" is the name
of the filePro file, and "screenname" is the screen name.
The currently supported sections
are: 0: Graphics characters are returned as text equivalents. (ie: '|',
'-', '+')
|
|
System Maintained Arrays & Variables |
| @CMDLINE[] | Contains the command line passed to *clerk/*report. (Note: also known as "@ARGV[]") |
| @CO | Returns the column of the first position of the field just entered or left. |
| @DIRLIST[] | Contains the full lines as returned by NEXTDIR() for all files found by the OPENDIR() command. |
| @DIRLIST_NAME[] | Contains the format name as returned in the first column by NEXTDIR() for all files found by the OPENDIR() command. |
| @DIRLIST_EXT[] | Contains the extension as returned in the second column by NEXTDIR() for all files found by the OPENDIR() command. |
| @DIRLIST_FILENAME[] | Contains the full filename as returned in the last column by NEXTDIR() for all files found by the OPENDIR() command. |
| @SYSFILES[] | Contains a list of all open files. Some entries may be blank, representing an unused (ie: closed) file. |
| @ALLFILES[] | Contains a list of all files open by filePro, even those closed due to dynamic open/close. Some entries may be blank, representing an unused (ie: closed) file. |
| @FPFILES[] | Contains a list of all open filepro files. Some entries may be blank, representing an unused (ie: closed) file. |
| @FPSTAT[] | Contains information about the last successful EXISTS() function.
See your O/S manual for a description of each entry. All entries are numeric, except for the date/time entries, which are returned as (10,mdyy/) and (8,TIME) respectively, [0] = length of array (currently always 14) [1] = st_dev [2] = st_ino [3] = st_mode [4] = st_nlink [5] = st_uid [6] = st_gid [7] = st_rdev [8] = st_size [9] = st_atime_date (date portion of st_atime) [10] = st_atime_time (time portion of st_atime) [11] = st_mtime_date [12] = st_mtime_time [13] = st_ctime_date [14] = st_ctime_time |
| @LI | Returns the current line number within the processing. |
| @RO | Returns the row of the first position of the field just entered or left. |
| @VR | Version number of *clerk/*report being run. This is the full version number (ie: "4.9.01K3DN9") that can be moved into a (4,.1) field to get the major version (ie: "4.9") for comparisons. |
|
Environment Variables |
| PFNOIXHIDE=ON | Disables index hiding (all are shown even hidden) |
| PFCHECKLOCKPOPUP=OFF | ON | Ability to log non-protected lookups that are not locked records that are being to/from another file but not do a popup so the next program in sequence can run without interruption/operator intervention |
| PFDIALOGPROMPT= L | C | R | This places the message prompts on System popups <C>enter <R> ight or <L>eft but does not effect MSGBOX or SHOW POPUP |
| PFNOQUAL=OFF | Turns off "[NONE]" from the qualifier list. |
| PFNULLIXSORT=ON | Re-enables the ability of Dxmaint to build indexes without a major sort key. |
| PFPERL=fullpath | Points to the PERL executible |
| PFQUALMESG=text | Replaces the default prompt for -md |
| PFSHOWF6ARROW=ON | Causes a down-arrow to be used a EOF marker for fields with F6 popups [DOS/Native Only for now] |