doshur:
what is the best coding practice?
Do I need to use GlobalVariableCheck first before I call GlobalVariableDel
Or I just call GlobalVariableDel will do.
There is no need to check the existence of a GlobalVariable if you have to delete it. Just delete it and check the returned value to detect an eventual error.
Just my opinion.
angevoyageur:
There is no need to check the existence of a GlobalVariable if you have to delete it. Just delete it and check the returned value to detect an eventual error.
Just my opinion.
you mean something like this
if(!GlobalVariableDel("test")) { Print("Error"); }
doshur:
Yes.
you mean something like this
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
what is the best coding practice?
Do I need to use GlobalVariableCheck first before I call GlobalVariableDel
Or I just call GlobalVariableDel will do.