Please be more specific in your question.
Thanks for your response. I want to write a debug function to write data in an output
file. Instead of write the whole block of opening writing and closing a file, I
want to make a function with same parameters as used in "Print" function
call. Since Print function can handle variable number or input parameters so my
debug function should support the same format. Which i don;t know how to do. Please
help.
Thanks,
Krana
Thanks,
Krana
basically by replacing ',' by '+' you achieve the same result:
Print(a,b,c);
Debug(a+b+c) // where Debug(string msg) defined by user
irusoh1:
Thanks for your response. But in this case you have to convert every thing into
string before you can call the function. I think it will help but I was looking
for something like void Debug(...) were I could define ... inside the function.
Thanks anyway.
basically by replacing ',' by '+' you achieve the same result:
Print(a,b,c);
Debug(a+b+c) // where Debug(string msg) defined by user

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
Thanks,
Krana