KeyPgDim - Syntax is missing

Forum for discussion about the documentation project.
Post Reply
zuibaf
Posts: 2
Joined: Dec 15, 2016 21:27

KeyPgDim - Syntax is missing

Post by zuibaf »

On link: [KeyPgDim][/https://www.freebasic.net/wiki/KeyPgDim], I noticed what the 3 sintaxes below is missing:

Code: Select all

Dim [Shared] As DataType name ([lbound To] uBound [, ...])
Dim [Shared] As DataType name (Any [, Any...])
Dim [Shared] As DataType name ()
On documentation, after the paragraph: "Array:", is described, only:

Code: Select all

Dim name ( [lbound To] ubound [, ...] ) As DataType
Dim name ( Any [, Any...] ) As DataType
Dim name ( ) As DataType
fxm
Moderator
Posts: 12132
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: KeyPgDim - Syntax is missing

Post by fxm »

In order not to weigh down the documentation page, all the syntactical combinations are not exhaustively detailed.
For example the alternative between 'Dim name As DataType, ...' and 'Dim As DataType name, ...' described for variables in general is not repeated in the specific case of arrays nor in the specific case of initializers..
zuibaf
Posts: 2
Joined: Dec 15, 2016 21:27

Re: KeyPgDim - Syntax is missing

Post by zuibaf »

OK. Understood.
Post Reply