67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
{
|
|
string: "this is a string"
|
|
symbol: Symbol
|
|
int: 17
|
|
real: 42.2
|
|
int + int: (10 + 10)
|
|
int - int: (3 - 127)
|
|
int / int: (10 / 2)
|
|
real / real: (5 / 2)
|
|
real * real: (5.1 * 8.7)
|
|
int + real: (5 + 8.7)
|
|
real + int: (8.7 + 5)
|
|
exp: DEFAULT_FONT_FAMILY
|
|
Xsize: size
|
|
dim: <10 inch>
|
|
int + dim: (5 + <25 inch>)
|
|
dim + int: (<25 inch> + 5)
|
|
dim + dim: (<25 point> + <5 inch>)
|
|
real * dim: (2.2 * <11 point>)
|
|
dim * real: (<11 point> * 2.1)
|
|
dim / real: (<11 point> / 2)
|
|
real / dim: (11 / <2 point>)
|
|
dim * int: (<11 point> * 2)
|
|
int * dim: (2 * <11 point>)
|
|
dim / int: (<11 point> / 2)
|
|
int / dim: (22 / <11 point>)
|
|
int - dim: (2 - <11 point>)
|
|
dim - int: (<11 point> - 2)
|
|
}
|
|
|
|
{
|
|
string: "this is a string"
|
|
symbol: Symbol
|
|
int: 17
|
|
real: 42.2
|
|
int + int: 20
|
|
int - int: -124
|
|
int / int: 5
|
|
real / real: 2.5
|
|
real * real: 44.37
|
|
int + real: 13.7
|
|
real + int: 13.7
|
|
exp: "helvetica"
|
|
Xsize: 10
|
|
dim: <10 inch>
|
|
int + dim: <30 inch>
|
|
dim + int: <30 inch>
|
|
dim + dim: <5.34722 inch>
|
|
real * dim: <24.2 point>
|
|
dim * real: <23.1 point>
|
|
dim / real: <5.5 point>
|
|
real / dim: <5.5 point>
|
|
dim * int: <22 point>
|
|
int * dim: <22 point>
|
|
dim / int: <5.5 point>
|
|
int / dim: <2 point>
|
|
int - dim: <-9 point>
|
|
dim - int: <9 point>
|
|
}
|
|
|
|
DEFAULT_FONT_FAMILY "helvetica"
|
|
|
|
|
|
(10 + 10)
|
|
<<72 point> inch>
|
|
1
|