Sign in to follow this  
Followers 0
fred munger

Move an Array into INT (in Unity Pro XL)

2 posts in this topic

I have to move an ARRAY : ARRAY[0..99] OF INT %MW100 to %MW199 into multiple INT : %MW0 to %MW99 My variables are already created for the INT, so I just want to move values from the ARRAY to my variables in INT... Sure I can do a MOVE block for every variable, but there is probably a way of doing this with array ? If anyone have a clue, Thx

Share this post


Link to post
Share on other sites
If you make another Array With the adress from %MW0 (Int_Array_2). Then you can just use an operateblock were you copy the first (Array INT_Array_1). INT_Array_2:=INT_Array; If you want to split up the array just make variables for the wordadress you want in the array. Int7=%MW7 etc.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0