Sign in to follow this  
Followers 0
henriks

writing to a specified element in a structured data block

2 posts in this topic

Capture.PNG shows my structured data block. As shown in Capture2.PNG, I'm trying to write to a specefied element in the data block. X and Y are variables. My thought is to write to line number 'Y' in the data block, and to element numbre 'X' in this line. The main problem is to select the right line. I can choose "Pixels.line_1[x]" or "Pixels.line_2[x]" aso, but how do I set the line selection as a variable? Edited by henriks

Share this post


Link to post
Share on other sites
Create a two-dimensional array and address it using variables. See picture.
1 person likes this

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