TEXTITEM$ returns a text item selected from the data Slot
TEXTITEM$(ValExp)
Arguments
...
For example, if the dataslot of expression:
H$ = TEXTITEM$TEXTITEM$(Num)
contains the following items:
TEXTITEM0 TEXTITEM0 = "NullString"
TEXTITEM1 TEXTITEM1 =
"The ship is equiped with a diesel-electric propulsion system.
"
TEXTITEM2 TEXTITE2 =
"CPP propellors are installed.
"
TEXTITEM3 TEXTITEM3 =
"Main particulars of the ship:
LPP: 110 m
B: 15 m
T: 5 m
"M
TEXTITEM4 TEXTITEM4 = "The propeller diameter will be 3.5 m "
For Num=3 H$ will be assigned
"Main particulars of the ship:
LPP: 110 m
B: 15 m
T: 5 m
"
If you need to use quotes (") as content in the TEXTITEM, you shoud use another charater, i.e. one not used in the TEXTITEM itself, e.g. |.
So if you want to put a Telitab set in a TEXTITEM, you can do it as follows:
TEXTITEM1 =
|
0
2 "XC" "YC"
"1" 1 1
"2" 2 4
"3" 3 9
"4" 4 16
"5" 5 25
"6" 6 36
"7" 7 49
"8" 8 64
"9" 9 81
"10" 10 100|
Quaestor uses the first character behind "=" as text marker.
Quick links: Function Functions overview | Attribute overview | Constants overview | Dimensions overview