Write Array at Index

Mnemonic idw
Statement x[a] = b
Description Sets the (a+1)'th element of x to b. x is a variable of array type. The first index of an array is 0. Out of bounds if a is less than zero or more than or equal to the size of x. The default value of an array is an array of length zero.
Type Computational
  • structural
mmd x[a] = b
mmb x[a] = b
mmc x[a] = b
mmr x[a] = b
mid x[a] = 1.2
mib x[a] = true
mic x[a] = 'c'
mir x[a] = "text"
imd x[2] = b
imb x[2] = b
imc x[2] = b
imr x[2] = b
iid x[2] = 1.2
iib x[2] = true
iic x[2] = 'c'
iir x[2] = "text"
  • 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 progsbase.com by Inductive AS.