Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using --debug-array with arrays passed to functions
Hi RandomiserUser,

Thanks again. So, are arrays (maybe anything that is passed by reference) globally defined? That is, can functions and subroutines access the content of arrays defined in the main program, even if they are not explicitly passed in as parameters?

I think your version will only work for the one string "myString()", whereas my (admittedly pointless) function could be used with any string array.

Thanks again,

Messages In This Thread
RE: Using --debug-array with arrays passed to functions - by georgeo - 03-10-2021, 09:12 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)