compile.time.date.stamp.rp

Definition/BASIC Program, Releases: R83

Obtaining the time and date of compiles in R83.

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.
4 nothing
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:


Attr Contents

0 item-id (for our example, assume 'PF.DATE')
1 A
2 5
3
4
5
6
7 D2/
8 T11,11]DI (Note that ']' is a value mark)
9 R
10 8

With this item in place, it is now possible to produce a report with Access. See the examples below.

Example

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.

See Also

Command Name Type Description
compile.time.date.stamp.ap Definition Obtaining the internal information about compiles in AP.
tcl.basic Verb: Access Invokes 'compile' with upper / lower case insensitivity.
tcl.compile Verb: Access Compiles with upper/lower case insensitivity.
tcl.run Verb: Access Activates compiled Pick/BASIC program.
tcl.pverify Verb: Access Verifies Pick/BASIC object code.
r83.source.files Definition R83 Pick/BASIC files require a 'DC' in attribute 1.
value.mark Definition Used to separate values within attributes.
pc.d Processing Code Date conversion.
pc.text.extract Processing Code Text extraction function.
attribute.defining.items Introductory An overview of attribute-defining items.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.