How would I pass a reference to an open COM port to a function call?
I'm using this syntax:
Open "COM1:115200,N,8,1" For Binary Access Write As #1
at the beginning of my subroutine.
With the "#1" identifier still open I would like to pass to a function.
I prefer not to close the COM port with "Close #1" to open back up inside a function call as a passing parameter.
Thank you.
I'm using this syntax:
Open "COM1:115200,N,8,1" For Binary Access Write As #1
at the beginning of my subroutine.
With the "#1" identifier still open I would like to pass to a function.
I prefer not to close the COM port with "Close #1" to open back up inside a function call as a passing parameter.
Thank you.