2.5k views
3 votes
How to get the value position in JBase dimensioned array _________.

User Gberes
by
8.7k points

1 Answer

5 votes

Final answer:

To get the value position in a JBase dimensioned array, use the "." operator followed by the index value.

Step-by-step explanation:

In JBase, you can get the value position in a dimensioned array by using the "." operator followed by the index value.

For example, if you have a dimensioned array called "myArray" and you want to get the value at position 3, you would use "myArray.3".

It is important to note that the index starts from 1 in JBase.

Here is an example:

dimension myArray(5)
myArray = "A","B","C","D","E"
PRINT myArray.3

This code will output "C", which is the value at position 3 in the array.

User Dmitry Gusev
by
8.2k points