Problems with global variables
7 views (last 30 days)
I'm willing to use the global function to define some constant parameters in a structure. The written codes are as following
But according to the error reminder the current use of 'Biofilm' is inconsistent with the previous use or Definition. I couldn't understand this hint and still couldn't find the error. Could anyone help me with that? Thanks a lot!
Krishna Bindumadhavan on 13 Mar 2018
You may have to remove Biofilm as the return argument, to make the function signature look like:
As Biofilm is a global variable , it does not seem to be possible to declare it as a return value of a function. You can take a look at this documentation for further information.