[Info-vax] Pascal question
Dave Froble
davef at tsoft-inc.com
Mon Jan 21 18:49:26 EST 2019
On 1/21/2019 3:41 PM, Arne Vajhøj wrote:
> On 1/21/2019 1:53 PM, Dave Froble wrote:
>> On 1/21/2019 1:07 PM, Arne Vajhøj wrote:
>>> On 1/21/2019 12:00 PM, John Reagan wrote:
>>>> On Monday, January 21, 2019 at 11:40:02 AM UTC-5, Arne Vajhøj wrote:
>>>>> On 1/21/2019 11:19 AM, Emilio Moreno wrote:
>>>>>> Here is another one. upcase
>>>>>
>>>>> Weird. I don't seem to be able to find anything better
>>>>> than:
>>>
>>>> str$upcase is about the best you'll get from Pascal.
>>>
>>> Maybe it was time to add 25-50 convenience functions to
>>> VMS Pascal?
>>>
>>> People expect more today. And adding them would show some
>>> progress. And the effort should not be that big aka low hanging
>>> fruit.
>>
>> Or, one can build a library of often used capabilities ....
>
> Of course.
>
> But it would be better if the standard language runtime came
> with such functionality instead of having hundreds of developers
> each implement their own.
>
> It is not like uppercasing is a very special function that
> only very few need.
>
> It is relative common.
>
> And many other mostly newer languages certainly has it.
I agree.
However, it's the concept that helps. Once one has such a library, they
are more ready to add to it at need.
The STR$ routine John mentioned is indeed part of such a library, which
is also part of VMS. So, it's in there. First thing I did was look at
LIB$ stuff, and it wasn't there. I've used the STR$ stuff much less
frequently. Poor judgement on my part.
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list