-
|
hi, newbie here! what should I do when I want to write a function that accept an array as input? thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
paxcut
Aug 11, 2025
Replies: 1 comment 1 reply
-
|
pass the variable name only fn function(auto array) {
u8 a = array[2];
};you may also need to use a reference |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
eZioPan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pass the variable name only
you may also need to use a reference
ref auto array.