Passing arguments to a function
#4

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
Why would you even need this? That's basically a function that calls another function.
I know. All I want to do is to get rid of gSQL variable in m_query functions. In my case, gSQL variable is static, and it can't be visible in other files. That is why define is not an option. There is no difference for me which variable for gSQL I will use, static or new. I am just curious if code above can be rewriten to be more universal.

Quote:
Originally Posted by Dayvison_
Посмотреть сообщение
Use y_va
thanks.
Reply


Messages In This Thread
Passing arguments to a function - by Scottas - 04.06.2017, 10:47
Re: Passing arguments to a function - by GoldenLion - 04.06.2017, 11:12
Re: Passing arguments to a function - by Dayvison_ - 04.06.2017, 12:06
Re: Passing arguments to a function - by Scottas - 04.06.2017, 12:07
Re: Passing arguments to a function - by Scottas - 04.06.2017, 21:24

Forum Jump:


Users browsing this thread: 1 Guest(s)