|Command||compile.time.date.stamp.rp Definition/BASIC Program
Applicable release versions: R83
|Category||BASIC Program (486)|
|Description||defines the structure of Pick/BASIC object pointers.
When a program is compiled in an R83 release, a pointer is placed in the dictionary level of the file in which the source program resides. This pointer defines where the object code resides and is used whenever the program is run. The structure of the pointer is as follows:
Attr Contents Description
0 item-id Same as the source item.
1 CC Literal "CC".
2 fid "Base" fid of object code.
3 frames Integer number of frames used.
5 time/date The time/date of the compile.
The actual format of the time date is as follows:
hh:mm:ss dd mmm yyyy
The date begins in the eleventh character position, for a length of eleven characters. An attribute-defining item can be placed into the md of the account to obtain the actual compile date, in a form where it can be used by Access, even though it is stored in "external" format. This ADI would appear as follows:
0 item-id (for our example, assume "PF.DATE")
8 T11,11]DI (Note that "]" is a value mark)
With this item in place, it is now possible to produce a report with Access. See the examples below.
SORT DICT BP BY-DSND PF.DATE PF.DATE This produces a report in which the most recently compiled programs sort to the TOP of the list. This is useful for length determining if a particular program compiled successfully. SORT DICT BP WITH NO PF.DATE This report only affects those items which have NOT been compiled.