Good Day
I have a user macro that has bytes D0 to D7 that needs to be input as data.
In an effort to simplify code and reduce the data handling complexity of the data ( u know passing one byte at a time to the macro D0 = D0)
I have setup an array ARRAY[8] as a parameter
However when I call the macro and try to set it up to take the data from the global array I seem to be missing something in my syntax
I have checked the wiki and aren't finding any thing definitive on the handling of an array.
any suggestion on what I am missing or a source of info on this.
kind regards
Andre
Array manipulation as Parameter
-
- Posts: 18
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 28, 2020 7:24 am
- Location: South Africa
- Has thanked: 17 times
- Been thanked: 4 times
-
- Valued Contributor
- Posts: 1459
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 709 times
Re: Array manipulation as Parameter
Can you post your current code?
Array handling is fairly straightforward for example x[0] = 1 sets the first element of the array to 1. Variable = x[7] sets variable to the 8th element of the array.
Martin
Array handling is fairly straightforward for example x[0] = 1 sets the first element of the array to 1. Variable = x[7] sets variable to the 8th element of the array.
Martin