Format
Format(AttributeList,FormattedText:list):number; |
FormatFloat(S:string;N:number):string; |
Function FORMATFLOAT uses the string S to specify how the floating-point number N should be displayed. S may take these values:
This table shows the effect of different strings on the way numbers are displayed.
|
Font(PointSize:number;FontName,Style:string); |
Procedure EscapeE only FONT engages the specified font. Font(12,'Arial','bold'); |
Text(X,Y:number;S:string) |
Procedure EscapeE only TEXT draws text S on page at X,Y (measured in pixels at 600dpi). Line example, Rotate example, Table example: Variable data. See also FONT procedure, above. |
Rotate(Angle: number); |
Procedure EscapeE only. ROTATE specifies the ANGLE in degrees counter-clockwise for TEXT display. |
Extent(S:string;var Ascent,Descent,Width:number); |
Procedure EscapeE only EXTENT procedure returns text metrics for the string S in pixels at 600dpi. ASCENT variable gives the font maximum height above the baseline. |
Now(Format:string):string; |
Function NOW specifies current date and time in one of these Format options: |
|
y |
Year; last 2 digits |
yy |
Year; last 2 digits |
yyyy |
Year as 4 digits |
m |
Month number; no-leading 0 |
mm |
Month number as 2 digits |
mmm |
Month using ShortMonthNames (Jan) |
mmmm |
Month using LongMonthNames (January) |
d |
Day number; no-leading 0 |
dd |
Day number as 2 digits |
ddd |
Day using ShortDayNames (Sun) |
dddd |
Day using LongDayNames (Sunday) |
ddddd |
Day in ShortDateFormat |
dddddd |
Day in LongDateFormat |
c |
Use ShortDateFormat + LongTimeFormat |
h |
Hour number; no-leading 0 |
hh |
Hour number as 2 digits |
n |
Minute number; no-leading 0 |
nn |
Minute number as 2 digits |
s |
Second number; no-leading 0 |
ss |
Second number as 2 digits |
z |
Millisecond number; no-leading 0s |
zzz |
Millisecond number as 3 digits |
t |
Use ShortTimeFormat |
tt |
Use LongTimeFormat |
am/pm |
Use after h : gives 12 hours + am/pm |
a/p |
Use after h : gives 12 hours + a/p |
ampm |
As a/p but TimeAMString,TimePMString |
/ |
Substituted by DateSeparator value |
: |
Substituted by TimeSeparator value |
NOW('ddd mmm yyyy hh:mm:ss.zzz'); |