Quoting Peter Vreman <[EMAIL PROTECTED]>:
> Use explicit namespacing: System.Close(sin)
Thank you all for the many responses. I now understand a bit more about the namespaces
and have a working program :)
Thanks,
Jeremy
___
fpc-pascal maillist - [E
> I have a object that connects to a speech server, festival. In my
> object, I define a function called close. This must close the socket
> connection, which is done by the function close. Therefore, I am having
> a problem, because simply calling close with the sin and sout parameters
> results i
> procedure TFestival.Close();
> begin
> close(sin);
> close(sout);
>
> Close := 0;
> end;
>
> I realize that I can simply rename my close procedure but I imagine that
> I will run into similar situations as I continue to use Free Pascal.
Use explicit namespacing: System.Close(sin)
If the function you wish to call is apart of another unit you can call
i.g.:
UnitName.Close(sin);
UnitName.Close(sout);
** That may work from within the same unit but I'm not certain. **
Free pascal is great about name spaces and allowing you to specify which
function you wish to call.
On
Greetings.
I have a object that connects to a speech server, festival. In my
object, I define a function called close. This must close the socket
connection, which is done by the function close. Therefore, I am having
a problem, because simply calling close with the sin and sout parameters
results