Hi there.
Run this code and note what happens:
sync on
ink rgb(0,255,0),rgb(0,128,0)
type engine
symbol as string
endtype
dim ENGdata(0) as engine
function ENG_newEngine(s$)
rem Places model at the end of the engine list
rem and returns its index as the engine number
array insert at bottom ENGdata(0)
ENGno=array count(ENGdata(0))
ENGdata(ENGno).symbol=s$
endfunction ENGno
str1$=str$(array count(ENGdata(0)))
str2$=str$(ENG_newEngine("Biatch"))
str3$=str$(array count(ENGdata(0)))
str4$=ENGdata(array count(ENGdata(0))).symbol
do
text 0, 20, str1$
text 0, 40, str2$
text 0, 60, str3$
text 0, 80, str4$
sync
loop
and now run this and tell me what happens:
sync on
ink rgb(0,255,0),rgb(0,128,0)
type engine
symbol as string
endtype
dim ENGdata(0) as engine
str1$=str$(array count(ENGdata(0)))
str2$=str$(ENG_newEngine("Biatch"))
str3$=str$(array count(ENGdata(0)))
str4$=ENGdata(array count(ENGdata(0))).symbol
do
text 0, 20, str1$
text 0, 40, str2$
text 0, 60, str3$
text 0, 80, str4$
sync
loop
function ENG_newEngine(s$)
rem Places model at the end of the engine list
rem and returns its index as the engine number
array insert at bottom ENGdata(0)
ENGno=array count(ENGdata(0))
ENGdata(ENGno).symbol=s$
endfunction ENGno
Thanks!
Ending a sentence with a French word is so passé