Read Array at Index

Mnemonic idr
Statement x = a[b]
Description Sets x to the (b+1)'th element of a. a is a variable of array type. The first index of an array is 0. Out of bounds if b is less than zero or more than or equal to the size of a. The default value of an array is an array of length zero.
Type Computational
  • structural
md x = a[b]
mb x = a[b]
mc x = a[b]
mr x = a[b]
id x = a[2]
ib x = a[2]
ic x = a[2]
ir x = a[2]
  • out of bounds
  • invalid operand
  • exception
Contact Information

We would be more than happy to help you. Our opening hours are 9–15 (CET).

[email protected]

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-24 by Inductive AS.