Page 1 of 1

Pl/1 operator over loading

PostPosted: Fri Sep 05, 2008 4:32 am
by kasturi19
I know operator overloading is possible in C++ but not in Pl/1.
Is there any way to do that? I tried the following
dcl op char(01);
dcl a char(01);
dcl b char(01);
if a op b then …..

But I am getting compilation error. I need to take the operator as input. Please suggest.

Re: Pl/1 operator over loading

PostPosted: Sat Sep 06, 2008 9:09 am
by dick scherrer
Hello,

Please do not post the same question multiple times. . . We simply delete them (often without notice).

If someone who knows the answer to your question, they will reply.

d