[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using dim for arrays
[Thread Prev] | [Thread Next]
- Subject: Re: Using dim for arrays
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Wed, 27 Aug 2025 08:14:18 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 26/08/2025 à 23:39, Brian G a écrit :
I have updated the entry to look like this, this is just the text of course. DIM This keyword is used for declaring local variables.All DIM declarations must be in the FUNCTION or SUB before the first use of that variable. Variables and arrays no longer need to be defined before the first executable command.Examples DIM fTimeDiff2 AS Float DIM iTest AS Integer DIM iK AS new Integer[9] ' ik[0] to ik[8] DIM shX AS new Short[3,3] DIM date1 AS Date iTest = 8 See also Local Variable Declaration Naming Conventions -- ~~~~ Brian
Thanks. The documentation was false, for a while! -- Benoît Minisini.
Using dim for arrays | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: Using dim for arrays | Brian G <brian@xxxxxxxxxxxxxxxx> |
Re: Using dim for arrays | Brian G <brian@xxxxxxxxxxxxxxxx> |