トピック
xX☆Boy64Xx UltimateArceus

How do you access an array from a different slot?

How do you edit or print a variable in a array from a different slot then the slot the array was created in?
1そうだね
プレイ済み
返信[1]
親投稿
Alex MrCashews
Let's assume the array is in slot 1 and is named ARRAY, and it's 1D. We use the functional VAR() keyword to grab a reference to the variable, using its name string. PRINT VAR("1:ARRAY")[0] Note that the index brackets come after the VAR function. Assignment works like this too: VAR("1:ARRAY")[0]=10 Keep in mind that this may not work as intended depending on the way everything is set up.
2そうだね
プレイ済み
返信[2]
親投稿
Eyad Kamel dinoeyad
just eat it
1そうだね
未プレイ