[Info-vax] A SYS$ version of F$EDIT
Dave Froble
davef at tsoft-inc.com
Sun Jun 2 20:40:18 EDT 2019
On 6/2/2019 7:09 PM, Arne Vajhøj wrote:
> On 6/2/2019 6:49 PM, seasoned_geek wrote:
>> On Sunday, June 2, 2019 at 10:57:20 AM UTC-5, Stephen Hoffman wrote:
>>> On 2019-06-02 15:29:08 +0000, Arne Vajh j said:
>>>> And in C:
>>>
>>> FWIW...
>>>
>>> This hasn't been the first time that f$edit and the BASIC
>>> string-editing capabilities have been discussed around here.
>>>
>>> There are additional examples of BAS$EDIT and DBASIC$EDIT calls posted
>>> in the newsgroup archives, as well...
>>>
>>> https://groups.google.com/d/msg/comp.os.vms/IDx1trJeHy0/Y5Y0vLfB9h0J
>>> https://groups.google.com/d/msg/comp.os.vms/0GE34MwGJ4Q/wR_Q2UtN2wsJ
>>> https://groups.google.com/d/msg/comp.os.vms/A9ZP0o0mP_k/z0BmepRKaVIJ
>>> https://groups.google.com/d/msg/comp.os.vms/BiXWxuKXlLk/oxatxhxPlOQJ
>
>> True and despite the claims of "most" of the functionality being in
>> DBASIC$EDIT and STR$ routines, it's not exactly "all" or at least not
>> exactly all obvious.
>
> DBASIC$EDIT is missing LOWERCASE and UNCOMMENT.
Give the function a bit of a break. This is basically the Basic+
CVT$$() function from prior to 1973.
Nor am I sure just what "uncomment" may do? Does it recognize the
comments from all languages? Or just DCL comments?
>> There is a consistency issue as well. Been a while since I researched
>> it, but every other F$ had a SYS$ at the time.
>
> ????
>
> F$INTEGER, F$STRING, F$LENGTH, F$LOCATE, F$EXTRACT, F$CVSI, F$CVUI,
> F$ELEMENT, F$TYPE etc. should not hit a system service.
>
> Arne
>
--
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