DIM/VAR let you declare a variable. This sentence is useful when you create a function with DEF because the variable you use is based on the context.
Example:
'Global variable
VAR X$="WORLD"
DEF showX
VAR X$="HELLO" 'Varible that exist only inside showX
? X$;
END
showX
? X$
1そうだね プレイ済み