News:

Let's find out together what makes a PIC Tick!

Main Menu

Procedure

Started by Ivano, Sep 11, 2022, 03:17 PM

Previous topic - Next topic

Ivano

Good morning, in the manual it says that there is the possibility to create a procedure with an array. I don't know how to pass an array to the procedure.

Proc MyProc(pMyArray[10] as Word)

I tried this but it doesn't work in pic16.
MyProc(str MyArray)

Maybe just for pic18? Some idea? thank you