For Programmers: Free Programming Magazines  


Home > Archive > Fortran > September 2005 > Re: PL/I Can create an Upper case function and Anything Else









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: PL/I Can create an Upper case function and Anything Else
David Frank

2005-09-12, 6:58 pm


"robin" <robin_v@bigpond.com> wrote in message
news:C4hVe.35423$FA3.22359@news-server.bigpond.net.au...
> David Frank wrote in message ...


> Why don't you read the manual?
> A PL/I function can return a character string whose
> current length depends on an input string length or
> anything else.
>
> |function User_String_Function(s1) result (s2)
> |character(*) :: s1
> |character(len(s1)) :: s2 ! <- cant do this even in Windows PL/I
>
> Can so -
> declare s2 char (length(s1));
> in all versions of PL/I.
> You really need to read the manual.
>


As usual you will blather for dozens of lines, but wont commit yourself to
posting a actual function
that shud take half-a-dozen statements, why is that ALWAYS the case?

No-one will backup your assertion that a RETURNS statement can be declared
as you HINT it can
because it cant,
You really need to read the manual..






Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com