D
deanbrown3d
Hi there!
Suppose I have a function
void ShowMessage(string s);
(that has a void return type.)
In my other function F, also with a void return type, can I do this?
void F(int i)
{
// Can I return this?
return ShowMessage("Hi Dean"); // ????
}
I can seem to be able to do this in Borland Builder6, but I didn't
think it was possible until recently. Is this a compiler-specific
setting?
THX!
Dean
Suppose I have a function
void ShowMessage(string s);
(that has a void return type.)
In my other function F, also with a void return type, can I do this?
void F(int i)
{
// Can I return this?
return ShowMessage("Hi Dean"); // ????
}
I can seem to be able to do this in Borland Builder6, but I didn't
think it was possible until recently. Is this a compiler-specific
setting?
THX!
Dean