[ver]
	4
[sty]
	
[files]
[charset]
	82
	ANSI (Windows, IBM CP 1252)
[revisions]
	0
[sequence]
	98
	0
	0
	0
	12
	0
	Numbered List
	652
	bullet
	652
	indent bullet
	652
	Note
	652
	indent Note
	652
	tip
	652
	Caution
	652
	indentCaution
	652
	find
	0
	Footnote
	652
	indent Tip
	652
	indent Find
[prn]
	Apple LaserWriter II NTX
[port]
	LPT1:
[lang]
	1
[fldnames]
	Field1
	Field2
	Field3
	Field4
	Field5
	Field6
	Field7
	Field8
[desc]
	File ch08.rtf was converted from Rich Text Format on 4/7/94
	
	
	
	
	802475849
	67
	765735255
	339
	8
	0
	0
	0
	0
	
	
	
	
	
	
	1
[fopts]
	0
	1
	0
	0
	
	
[lnopts]
	2
	Body Text
	1
[docopts]
	5
	2
[GramStyle]
	
[ParaNum]
	1
[tag]
	Body Text
	2
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		720
		0
		0
	[spc]
		24
		200
		4
		120
		120
		4
		100
	[brk]
		36
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		0
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	1Body Text
	3
	1
	600
	1
	1200
	1
	3720
	0
[tag]
	Ahead
	3
	[fnt]
		Helvetica
		280
		0
		16385
	[algn]
		1
		1
		0
		0
		0
	[spc]
		40
		300
		4
		360
		120
		4
		100
	[brk]
		80
	[line]
		9
		0
		4
		0
		1
		1
		1
		110
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Body Text
	0
	0
[tag]
	Bhead
	4
	[fnt]
		Helvetica
		240
		0
		16385
	[algn]
		1
		3
		0
		0
		0
	[spc]
		40
		280
		4
		100
		90
		4
		100
	[brk]
		80
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Body Text
	0
	0
[tag]
	Chead
	5
	[fnt]
		Helvetica
		200
		0
		16385
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		240
		4
		80
		0
		4
		100
	[brk]
		80
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Body Text
	0
	0
[tag]
	Numbered List
	6
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		744
		336
		336
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		3
		<*:>.
		0
		3
		1
		1
		2
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Numbered List
	0
	0
[tag]
	bullet
	7
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		720
		300
		300
	[spc]
		40
		240
		4
		80
		80
		4
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		<*1>
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	bulleted list
	0
	0
[tag]
	1st lev para
	8
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		1080
		0
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	1st lev para
	0
	0
[tag]
	mono
	9
	[fnt]
		Courier
		180
		0
		32769
	[algn]
		1
		3
		720
		0
		0
	[spc]
		24
		220
		4
		120
		120
		4
		100
	[brk]
		36
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	mono
	22
	1
	864
	1
	1209
	1
	1555
	1
	1900
	1
	2246
	1
	2592
	1
	2937
	1
	3283
	1
	3628
	1
	3974
	1
	4320
	1
	4665
	1
	5011
	1
	5356
	1
	5702
	1
	6048
	1
	6393
	1
	6739
	1
	7084
	1
	7430
	1
	7776
	1
	8121
	0
[tag]
	indent bullet
	11
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		1104
		216
		216
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		<*1>
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	indent bullet
	0
	0
[tag]
	Note
	12
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		720
		600
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Note
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Note
	0
	0
[tag]
	2nd lev para
	0
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		1320
		0
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		1
		2
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	2nd lev para
	0
	0
[tag]
	Table Text
	0
	[fnt]
		Palatino
		180
		0
		49152
	[algn]
		1
		1
		0
		0
		0
	[spc]
		40
		200
		4
		79
		0
		3
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		0
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Table Text
	0
	0
[tag]
	Body Text1
	0
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		240
		4
		20
		40
		4
		100
	[brk]
		36
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		1
		
		18944
		1
		1
		0
		2
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	Body Text1
	4
	1
	2390
	1
	2869
	1
	3347
	1
	3826
	0
[tag]
	indent Note
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		1080
		600
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Note
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	indent Note
	0
	0
[tag]
	tip
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		720
		480
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Tip
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	tip
	0
	0
[tag]
	Caution
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		720
		900
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Caution
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Caution
	0
	0
[tag]
	indentCaution
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		1080
		900
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Caution
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	indentCaution
	0
	0
[tag]
	Term
	0
	[fnt]
		Palatino
		200
		0
		49153
	[algn]
		1
		3
		720
		0
		0
	[spc]
		24
		240
		4
		0
		0
		4
		100
	[brk]
		80
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	Body Text
	0
	0
[tag]
	indent Term
	0
	[fnt]
		Palatino
		200
		0
		49153
	[algn]
		1
		3
		1080
		0
		0
	[spc]
		24
		240
		4
		0
		0
		4
		100
	[brk]
		16
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	indent Term
	0
	0
[tag]
	find
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		720
		1800
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Finding Out More
		0
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	find
	0
	0
[tag]
	procdure Bhd
	0
	[fnt]
		Helvetica
		220
		0
		16385
	[algn]
		1
		3
		0
		0
		0
	[spc]
		40
		260
		4
		100
		90
		4
		100
	[brk]
		80
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Numbered List
	0
	0
[tag]
	procdure Chd
	0
	[fnt]
		Helvetica
		200
		0
		16385
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		240
		4
		80
		80
		4
		100
	[brk]
		80
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Numbered List
	0
	0
[tag]
	formula
	0
	[fnt]
		Helvetica
		180
		0
		16384
	[algn]
		1
		3
		1080
		0
		0
	[spc]
		40
		220
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	formula
	0
	0
[tag]
	Table Title
	0
	[fnt]
		Helvetica
		180
		0
		16385
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		220
		4
		40
		80
		4
		100
	[brk]
		16
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Table Title
	0
	0
[tag]
	Column Head
	0
	[fnt]
		Palatino
		180
		0
		49154
	[algn]
		1
		3
		0
		0
		0
	[spc]
		40
		220
		4
		0
		0
		3
		100
	[brk]
		4
	[line]
		11
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Column Head
	0
	0
[tag]
	call-out
	0
	[fnt]
		Helvetica
		160
		0
		16384
	[algn]
		1
		3
		0
		0
		0
	[spc]
		40
		180
		4
		0
		0
		1
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	call-out
	0
	0
[tag]
	chap number
	0
	[fnt]
		Helvetica
		720
		0
		16385
	[algn]
		1
		3
		0
		0
		0
	[spc]
		40
		520
		4
		0
		0
		4
		100
	[brk]
		0
	[line]
		17
		1680
		4
		0
		1
		1
		1
		420
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	chap number
	0
	0
[tag]
	Chapter Title
	0
	[fnt]
		Helvetica
		320
		0
		16385
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		360
		4
		0
		480
		3
		100
	[brk]
		81
	[line]
		17
		8520
		3
		0
		1
		3
		1
		644
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Body Text
	0
	0
[tag]
	1st Pg Footer
	0
	[fnt]
		Palatino
		180
		0
		49153
	[algn]
		2
		3
		0
		0
		0
	[spc]
		33
		273
		1
		0
		0
		1
		100
	[brk]
		0
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	1st Pg Footer
	0
	0
[tag]
	right footer
	0
	[fnt]
		Palatino
		180
		0
		49153
	[algn]
		4
		1
		0
		0
		0
	[spc]
		33
		216
		1
		60
		0
		3
		100
	[brk]
		32
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	right footer
	1
	3
	8640
	0
[tag]
	left footer
	0
	[fnt]
		Palatino
		180
		0
		49153
	[algn]
		4
		1
		0
		0
		5212
	[spc]
		33
		216
		1
		60
		0
		3
		100
	[brk]
		32
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	left footer
	1
	3
	8640
	0
[tag]
	Footnote
	0
	[fnt]
		Times New Roman
		180
		0
		49152
	[algn]
		1
		3
		0
		244
		0
	[spc]
		40
		2400
		3
		0
		0
		1
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		0
		<*:>
		0
		1
		1
		256
		0
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	Footnote
	0
	0
[tag]
	Figure Title
	0
	[fnt]
		Helvetica
		180
		0
		16385
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		220
		4
		40
		80
		4
		100
	[brk]
		80
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	Body Text
	0
	0
[tag]
	indent Tip
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		1080
		480
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Tip
		18944
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	indent tip
	0
	0
[tag]
	indent Find
	0
	[fnt]
		Helvetica
		200
		0
		16384
	[algn]
		1
		3
		1080
		1800
		0
	[spc]
		40
		240
		4
		0
		80
		4
		100
	[brk]
		4
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		4
		Finding Out More
		18944
		3
		1
		1
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	indent find
	0
	0
[tag]
	copyrt
	0
	[fnt]
		Palatino
		180
		0
		49152
	[algn]
		1
		3
		0
		0
		0
	[spc]
		24
		220
		4
		0
		60
		4
		100
	[brk]
		36
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		1
		
		18944
		1
		1
		0
		2
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	copyrt
	4
	1
	2390
	1
	2869
	1
	3347
	1
	3826
	1200
[tag]
	seealso
	0
	[fnt]
		Helvetica
		200
		0
		16385
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		240
		4
		80
		0
		4
		100
	[brk]
		16
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		2
		
		0
		1
		1
		0
		0
		0
		0
	[nfmt]
		272
		1
		2
		.
		,
		$
	seealso
	0
	0
[tag]
	crossref
	0
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		1
		3
		720
		0
		0
	[spc]
		40
		240
		4
		0
		0
		4
		100
	[brk]
		36
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		1
		
		18944
		1
		1
		0
		2
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	crossref
	4
	1
	2390
	1
	2869
	1
	3347
	1
	3826
	0
[tag]
	popref
	0
	[fnt]
		Palatino
		200
		0
		49152
	[algn]
		513
		3
		720
		0
		720
	[spc]
		40
		240
		4
		0
		0
		4
		100
	[brk]
		36
	[line]
		8
		0
		1
		0
		1
		1
		1
		10
		10
		1
	[spec]
		0
		1
		
		18944
		1
		1
		0
		2
		0
		0
	[nfmt]
		280
		1
		2
		.
		,
		$
	popref
	4
	1
	2390
	1
	2869
	1
	3347
	1
	3826
	0
[lay]
	Standard
	3079
	[rght]
		12960
		10166
		1
		960
		1200
		3
		960
		720
		0
		1
		0
		1
		0
		2
		1
		960
		9446
		5
		1
		720
		1
		1440
		1
		2880
		1
		4320
		1
		5760
	[lft]
		12960
		10166
		1
		720
		1200
		3
		960
		960
		0
		1
		0
		1
		0
		2
		1
		720
		9206
		5
		1
		720
		1
		1440
		1
		2880
		1
		4320
		1
		5760
	[hlft]
	[lyfrm]
		1
		3008
		0
		0
		10166
		960
		0
		1
		3
		1 0 0 0 0 0 0
		0
		0
		1
	[frmlay]
		960
		10166
		1
		720
		180
		3
		480
		960
		0
		1
		0
		1
		1
		0
		1
		720
		9206
		0
	[txt]
@right footer@LotusScript Language Reference	10/03/94

>
	[hrght]
	[lyfrm]
		1
		11200
		0
		0
		10166
		960
		0
		1
		3
		1 0 0 0 0 0 0
		0
		0
		2
	[frmlay]
		960
		10166
		1
		960
		180
		3
		480
		720
		0
		1
		0
		1
		1
		0
		1
		960
		9446
		0
	[txt]
@right footer@10/03/94<:f>	LotusScript Language Reference

>
	[flft]
	[lyfrm]
		1
		5056
		0
		11760
		10166
		12960
		0
		1
		3
		1 0 0 0 0 0 0
		0
		0
		3
	[frmlay]
		12960
		10166
		1
		720
		480
		3
		11940
		960
		0
		1
		0
		1
		1
		0
		1
		720
		9206
		0
	[txt]
@right footer@page <:P10,0,>	Lotus Strictly Private

>
	[frght]
	[lyfrm]
		1
		13248
		0
		11760
		10166
		12960
		0
		1
		3
		1 0 0 0 0 0 0
		0
		0
		4
	[frmlay]
		12960
		10166
		1
		960
		480
		3
		11940
		720
		0
		1
		0
		1
		1
		0
		1
		960
		9446
		0
	[txt]
@right footer@Lotus Strictly Private	page <:P10,0,>

>
[elay]
[l1]
	0
[pg]
	6
	14 162 39 32 0 0 0 200 65535 Standard	65535 0 0	0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
	31 0 80 512 0 0 0 240 65535 Standard	65535 0 0	0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
	43 0 82 512 0 0 0 240 65535 Standard	65535 0 0	0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
	55 0 78 512 0 0 0 240 65535 Standard	65535 0 0	0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
	68 0 80 512 0 0 0 240 65535 Standard	65535 0 0	0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
	85 0 80 512 0 0 0 240 65535 Standard	65535 0 0	0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
@Chapter Title@<:#1364,8486><:f><:f>Chapter 8  <**>Data Types

<:#400,8486><:f>LotusScript provides several built-in data types. This chapter describes each of these types and the values they can contain.

@Ahead@<:#410,8486>Currency Data Type<:X8,1;Index "CURRENCY" #><:X8,1;Index "Data types" # "CURRENCY">

<:#400,8486><:f>Specifies a variable that contains an 8-byte integer, scaled to four decimal places to suitably represent a monetary value

@Chead@<:#240,8486>Usage

<:#200,8486><:f>The Currency suffix character for implicit type declaration is @.<:f>

<:#200,8486>Use the Currency data type for calculations with money.

<:#200,8486>Currency variables are initialized to 0.

<:#400,8486>Currency values must fall within the range -922,337,203,685,477.5807 to 922,337,203,685,477.5807 inclusive.

<:#400,8486>Use the Currency data type for fixed point calculations in which four-decimal-place accuracy is meaningful.

<:#600,8486><:f>LotusScript aligns Currency data on a 4-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

@Chead@<:#240,8486>Example

@mono@<:#1100,8486>DIM Sales AS CURRENCY, Expenses AS CURRENCY<**>Sales = 20.9999<**>Expenses = 10.5555<**>Earnings@ = Sales - Expenses<**>PRINT Earnings@		'Prints 10.4444

<:#600,8486><:f>The Currency variables Sales and Expenses are explicitly declared; Earnings is declared implicitly. Earnings is calculated to four decimal places based on the assigned values for Sales and Expenses.

@Chead@<:#240,8486><:f>Related topics

@popref@<:#240,8486><:f>Variables

@popref@<:#240,8486><:f>CCur Function: to convert a value of a numeric data type to a Currency value

@Ahead@<:#410,8486>Double Data Type<:X8,2;Index "DOUBLE" #><:X8,2;Index "Data types" # "DOUBLE"><:X8,2;Index "Floating point numbers" # "DOUBLE">

<:#400,8486><:f>Specifies a variable that contains a double-precision floating point value maintained as an 8-byte floating point value

@Chead@<:#240,8486>Usage

<:#200,8486><:f>The Double suffix character for implicit type declaration is #.

<:#400,8486>The range of Double values is -1.7976931348623158E+308 to 1.7976931348623158E+308, inclusive.

<:#400,8486>On UNIX platforms, the range is <-!><:f>-1.7976931348623156E+308 to 1.7976931348623156E+308<-!><-!><-!>, inclusive.

<:#200,8486>The smallest non-zero Double value (disregarding sign) is 2.2250738585072014E-308.

<:#600,8486><:f>LotusScript aligns Double data on an 8-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

@Chead@<:#240,8486>Example 

@mono@<:#880,8486>DIM Rate AS DOUBLE<**>Rate = .85<**>Interest# = Rate<**>PRINT Interest#

<:#600,8486><:f>The variable Rate is explicitly declared to be of type Double. The variable Interest is implicitly declared to be of type Double by the # suffix character. Interest is assigned the value of Rate; that value is then printed.

@Chead@<:#240,8486><:f>Related topics

@popref@<:#240,8486><:f>Variables

@popref@<:f>CDbl Function: to convert a value of another data type to a Double value<:p<* >>

@Ahead@<:#410,8486>Integer Data Type<:X8,3;Index "INTEGER" #><:X8,3;Index "Data types" # "INTEGER">

<:#200,8486><:f>Specifies a variable that contains a signed 2-byte integer

@Chead@<:#240,8486>Usage

<:#200,8486><:f>The Integer suffix character for implicit type declaration is %.

<:#200,8486>An Integer value is a whole number in the range -32768 to 32767 inclusive.

<:#600,8486>LotusScript aligns Integer data on a 2-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

@Chead@<:#240,8486><:f>Example

@mono@<:#880,8486>DIM Count AS INTEGER<**>Count = 1<**>NextOne% = Count + 1<**>PRINT Count; NextOne%		'Prints 1  2

<:#600,8486><:f>The variable Count is declared to be of typeInteger. The variable NextOne is implicitly declared to be of type Integer by the % suffix character. NextOne is assigned the value of Count + 1; both values are then printed.

@Chead@<:#240,8486><:f>Related topics

@popref@<:#240,8486><:f>Variables

@popref@<:f>CInt Function: to convert a value of another data type to an Integer value<:p<* >>

@Ahead@<:#410,8486>Long Data Type<:X8,4;Index "LONG" #><:X8,4;Index "Data types" # "LONG">

<:#200,8486><:f>Specifies a variable that contains a signed 4-byte integer

@Chead@<:#240,8486>Usage

<:#200,8486><:f>The Long suffix character is &.

<:#200,8486>A Long value is a whole number in the range -2,147,483,648 to 2,147,483,647 inclusive.

<:#600,8486>LotusScript aligns Long data on a 4-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

@Chead@<:#240,8486><:f>Example

@mono@<:#880,8486>DIM Particles AS LONG<**>BigInt& = 2094070921<**>Particles = BigInt&<**>PRINT BigInt&; Particles		'Prints 2094070921     2094070921

<:#600,8486><:f>The variable Particles is declared to be of type Long. The variable BigInt is implicitly declared to be of data type Long by the & suffix character. Particles is assigned the value of BigInt; both values are then printed.

@Chead@<:#240,8486><:f>Related topics

@popref@<:#240,8486><:f>Variables

@popref@<:f>CLng Function: to convert a value of another data type to a Long value<:p<* >>

@Ahead@<:#410,8486>Single Data Type<:X8,5;Index "SINGLE" #><:X8,5;Index "Data types" # "SINGLE">

<:#200,8486><:f>Specifies a variable that contains a 4-byte floating point value

@Chead@<:#240,8486>Usage

<:#200,8486><:f>The Single suffix character for implicit type declaration is !.

<:#200,8486>The range of Single values is -3.402823E+38 to 3.402823E+38 inclusive.

<:#200,8486>The smallest non-zero Single value (disregarding sign) is 1.175494351E-38.

<:#600,8486>LotusScript aligns Single data on a 4-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

@Chead@<:#240,8486><:f>Example

@mono@<:#660,8486>DIM X AS SINGLE<**>Mole! = 6.02E23<**>PRINT Mole!			'Prints the value of Mole

<:#400,8486><:f>The variable X is declared to be of type Single. The variable Mole is implicitly declared to be of type Single by the ! suffix character.

@Chead@<:#240,8486><:f>Related topics

@popref@<:#240,8486><:f>Variables

@popref@<:f>CSng Function: to convert a value of another data type to a Single value<:p<* >>

@Ahead@<:#410,8486>String Data Type<:X8,6;Index "STRING" #><:X8,6;Index "Data types" # "STRING">

<:#400,8486><:f>Specifies a variable used to store text strings, using the character set of the Lotus product that invoked LotusScript.

@Chead@<:#240,8486>Usage

<:#200,8486><:f>The String suffix character for implicit type declaration is $.

<:#200,8486>The declaration of a string variable uses this syntax:

<:#200,8486><+!>Dim <-!><+">var_name<-"> <+!>As String<-!> <[><+!>*<-!> <+">num<-">]

<:#600,8486><:f>The optional <+">num<-"> argument specifies that <+">var_name<-"> is a fixed-length string variable of 
<+">num <-">characters. A fixed-length string variable is initialized to a string of null characters (the character Chr(0)).

<:#600,8486>When you assign a string to a fixed-length string variable, LotusScript truncates a longer string to fit into the declared length. It pads a shorter string to the declared length with trailing spaces.

<:#400,8486><:f>Fixed-length strings are often used in declaring data structures for use in file I/O or C access.

<:#200,8486>An implicitly declared String variable is always a variable-length string variable.

<:#800,8486>LotusScript aligns variable-length String data on a 4-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space. Fixed-length strings are not aligned on 
any boundary.

@Chead@<:#240,8486><:f>Example

<:#800,8486><:f>In the following example, the variable-length String variable MyName and the fixed-length String variable MyState are explicitly declared and assigned appropriate String values. The variable MyStreet is implicitly declared to be of type String by the $ 
suffix character.

@mono@<:#1540,8486>DIM MyName AS STRING<**>DIM MyState AS STRING * 4<**>MyName = "Mark"<**>MyState = "  MA"<**>MyStreet$ = "123 Maple St."<**>PRINT MyName					'Prints "Mark"<**>PRINT MyStreet$; MyState	'Prints "123 Maple St.  MA"

@Chead@<:#240,8486><:f><:f><:f><:f><:f><:f>Related topics

@popref@<:#240,8486><:f>Variables

@popref@<:f>CStr Function: to convert a value of another data type to a String value<:p<* >>

@Ahead@<:#410,8486>Variant Data Type<:X8,7;Index "VARIANT" #><:X8,7;Index "Data types" # " VARIANT"><:X8,7;Index "Date values" #>

<:#400,8486><:f>Specifies a 16-byte variable that can contain data of any other built-in type, array, list, or object.

@Chead@<:#240,8486><:f>Usage

@1st Paragraph@<:#200,8486><:f>A variable that is declared without a data type or a suffix character is of type Variant.

<:#400,8486><:f>A Variant variable can contain values of any other built-in data type, or any of the following special values.

@bullet@<:#720,8486>Array: A declared array may be assigned to a Variant variable. The reverse is not true; for example, a Variant variable containing an array may not be assigned to a declared array variable.

@bullet@<:#720,8486>List: A list may be assigned to a Variant variable. The reverse is not true; for example, a Variant variable containing a list may not be assigned to a declared list variable.

@bullet@<:#480,8486>Object: Any instance of a LotusScript class, Lotus product class, or user-defined class may be assigned to a Variant variable.

@bullet@<:#960,8486>Date value: An eight-byte floating-point value representing a date/time may be assigned to a Variant variable. The integer part represents a serial day counted from 1/1/100 AD. The fractional part represents the time as a fraction of a day, measured from mi
dnight.

@bullet@<:#1200,8486>The NULL value may be assigned to a Variant variable. NULL propagates through almost all expressions: if one operand of an expression is NULL, the expression is NULL. (See the topic 
</S>Operators and Expressions</T> for the exceptions to this rule.)  A Variant can take the value NULL either through propagation or by explicit assignment.

@bullet@<:#1200,8486>The EMPTY value may be assigned to a Variant variable. EMPTY is the initialized value of a Variant. In expressions, EMPTY is converted to 0 for numeric operations, and to the empty string (<:f,QCourier,>""<:f>) for string operations. Variants take the value
 EMPTY only upon initialization, or upon assignment from another Variant whose value is EMPTY.

<:#200,8486><:f>A Variant cannot contain an instance of a user-defined type.

<:#400,8486><:f>To determine the data type of the value in a Variant variable, use the DataType or TypeName function.

<:#600,8486>LotusScript aligns Variant data on an 8-byte boundary. In user-defined types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

@Chead@<:#240,8486><:f>Example

@mono@<:#220,8486>Dim someV As Variant

@mono@<:#880,8486>Dim price As Currency<**>price@ = 20.00<**>someV = price@<**>Print DataType(someV)		'Prints 6 (currency)

@mono@<:#1760,8486><**>Class Product<**>	Sub Sell(toCustomer)<**>	'...<**>	End Sub<**>End Class<**>Dim knife As New Product<**>Set someV = knife	<**>Call someV.Sell("Joe Smith")	'Calls Product method Sell

@mono@<:#1540,8486><**>Dim salesArray()<**>ReDim salesArray(3)<**>salesArray(1) = 200<**>salesArray(2) = 350<**>salesArray(3) = 10<**>someV = salesArray<**>Print someV(1)			'Prints 200

@mono@<:#1100,8486><**>Dim customerList List<**>customerList("one") = "Butcher"<**>customerList("two") = "Baker"<**>someV = customerList<**>Print someV("one")<:f>		'Prints Butcher

@Chead@<:#240,8486><:f>Related topics

@popref@<:#240,8486><:f>Operators and Expressions

@popref@<:#240,8486>Variables

@popref@<:#240,8486><:f>CVar Function

@popref@<:#240,8486><:f>DataType Function

@popref@<:#240,8486>TypeName Function

@Chead@<:#240,8486><:f>

>

[Embedded]
00029550
