Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

win-nt from the people who invented edlin. -- MaDsen Wikholm, mwikholm@at8.abo.fi


computers / comp.os.vms / Coding style in the VMS's

SubjectAuthor
* Coding style in the VMS'sEl SysMan
+* Re: Coding style in the VMS'sArne Vajhøj
|+- Re: Coding style in the VMS'sSimon Clubley
|`* Re: Coding style in the VMS'sPhillip Helbig (undress to reply
| `* Re: Coding style in the VMS'sBob Eager
|  `* Re: Coding style in the VMS'sArne Vajhøj
|   `* Re: Coding style in the VMS'sSimon Clubley
|    `* Re: Coding style in the VMS'sArne Vajhøj
|     `* Re: Coding style in the VMS'sSimon Clubley
|      `* Re: Coding style in the VMS'sBill Gunshannon
|       +* Re: Coding style in the VMS'sLawrence D’Oliveiro
|       |+* Re: Coding style in the VMS'sEl SysMan
|       ||`- Re: Coding style in the VMS'sAndrew Commons
|       |+* Re: Coding style in the VMS'sSimon Clubley
|       ||`* Re: Coding style in the VMS'sStephen Hoffman
|       || +* Re: Coding style in the VMS'sArne Vajhøj
|       || |`- Re: Coding style in the VMS'sLawrence D’Oliveiro
|       || `- Re: Coding style in the VMS'sLawrence D’Oliveiro
|       |`* Re: Coding style in the VMS'sDavid Jones
|       | `- Re: Coding style in the VMS'sLawrence D’Oliveiro
|       `* Re: Coding style in the VMS'sSimon Clubley
|        `- Re: Coding style in the VMS'sLawrence D’Oliveiro
`* Re: Coding style in the VMS'sStephen Hoffman
 `- Re: Coding style in the VMS'sAndrew Commons

1
Coding style in the VMS's

<bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17309&group=comp.os.vms#17309

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:a40e:: with SMTP id n14mr909763qke.81.1632846827512;
Tue, 28 Sep 2021 09:33:47 -0700 (PDT)
X-Received: by 2002:a37:a4cc:: with SMTP id n195mr897219qke.86.1632846827287;
Tue, 28 Sep 2021 09:33:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 28 Sep 2021 09:33:47 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=213.108.211.135; posting-account=9f7q1AoAAABDPsFEcWiRS6khkDURMqEt
NNTP-Posting-Host: 213.108.211.135
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
Subject: Coding style in the VMS's
From: aaa.vms@gmail.com (El SysMan)
Injection-Date: Tue, 28 Sep 2021 16:33:47 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: El SysMan - Tue, 28 Sep 2021 16:33 UTC

Hi there!

Just interesting is the name for VMS coding style, any references ?
Hungarian ? White ? Any other ?

Re: Coding style in the VMS's

<6153494b$0$692$14726298@news.sunsite.dk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17310&group=comp.os.vms#17310

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Subject: Re: Coding style in the VMS's
Newsgroups: comp.os.vms
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
From: arne@vajhoej.dk (Arne Vajhøj)
Date: Tue, 28 Sep 2021 12:56:39 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Lines: 17
Message-ID: <6153494b$0$692$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 82079ac4.news.sunsite.dk
X-Trace: 1632848203 news.sunsite.dk 692 arne@vajhoej.dk/68.9.63.232:61710
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 28 Sep 2021 16:56 UTC

On 9/28/2021 12:33 PM, El SysMan wrote:
> Just interesting is the name for VMS coding style, any references ?
> Hungarian ? White ? Any other ?

You are asking about VMS specific naming conventions and
code formatting style?

There is a convention for DEC/CPQ/HP(E)/VSI stuff to use $ and
own stuff to use _. Never heard of a name for it.

Regarding location of {} in C family languages then
I have never heard of a VMS style. C programmers
use the style they use elsewhere, whatever that is.
Java developers follow Java convention. Etc..

Arne

Re: Coding style in the VMS's

<sivjmm$qj6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17311&group=comp.os.vms#17311

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Tue, 28 Sep 2021 17:34:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <sivjmm$qj6$1@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Sep 2021 17:34:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c3569b96ae0f201e39b060011f06b492";
logging-data="27238"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N8dTya+OMsD00PrX2Gcb4WUUoIazSpPE="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:GM+ze8Rp7wQHSlUpAZ/iy/uOguU=
 by: Simon Clubley - Tue, 28 Sep 2021 17:34 UTC

On 2021-09-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 9/28/2021 12:33 PM, El SysMan wrote:
>> Just interesting is the name for VMS coding style, any references ?
>> Hungarian ? White ? Any other ?
>
> You are asking about VMS specific naming conventions and
> code formatting style?
>
> There is a convention for DEC/CPQ/HP(E)/VSI stuff to use $ and
> own stuff to use _. Never heard of a name for it.
>
> Regarding location of {} in C family languages then
> I have never heard of a VMS style. C programmers
> use the style they use elsewhere, whatever that is.
> Java developers follow Java convention. Etc..
>

$ set response/mode=good_natured_troll

And the sensible programmers all use Whitesmiths... :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Coding style in the VMS's

<sivvuc$uam$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17326&group=comp.os.vms#17326

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaohveh@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Tue, 28 Sep 2021 17:03:08 -0400
Organization: HoffmanLabs LLC
Lines: 27
Message-ID: <sivvuc$uam$1@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="47d9d3e189443e73422529f5e0c12c5f";
logging-data="31062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HlQlfC1D4Q9fWcbJ84U+CU6PU+tEtmi0="
User-Agent: Unison/2.2
Cancel-Lock: sha1:N2WSfQyamB0oVSYGCQQcZ3vwRkc=
 by: Stephen Hoffman - Tue, 28 Sep 2021 21:03 UTC

On 2021-09-28 16:33:47 +0000, El SysMan said:

> Just interesting is the name for VMS coding style, any references ?
> Hungarian ? White ? Any other ?

The old unique-by-convention symbol naming scheme is obviously
analogous to / derivative from Hungarian notation, but AFAIK doesn't
have a specific name.

The manual that this material was included within seems to have
disappeared from the current VSI documentation, but here's an older
copy; see chapter 3 for details:

https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c04623122

There wasn't a source code formatter around, though astyle and some
other tools have been used in more recent years. These tools do not
apply the variable naming.

OpenVMS itself commonly uses SDL (available on the freeware), and SDL
can and usually does generate symbols using the traditional
symbol-naming format.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Coding style in the VMS's

<sj16el$1sqv$2@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17351&group=comp.os.vms#17351

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!DvQucUqeCvxI/ya0YJQG4A.user.46.165.242.75.POSTED!not-for-mail
From: helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Wed, 29 Sep 2021 08:00:21 -0000 (UTC)
Organization: Multivax C&R
Message-ID: <sj16el$1sqv$2@gioia.aioe.org>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="62303"; posting-host="DvQucUqeCvxI/ya0YJQG4A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Wed, 29 Sep 2021 08:00 UTC

In article <6153494b$0$692$14726298@news.sunsite.dk>,
=?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:

> On 9/28/2021 12:33 PM, El SysMan wrote:
> > Just interesting is the name for VMS coding style, any references ?
> > Hungarian ? White ? Any other ?
>
> You are asking about VMS specific naming conventions and
> code formatting style?
>
> There is a convention for DEC/CPQ/HP(E)/VSI stuff to use $ and
> own stuff to use _. Never heard of a name for it.
>
> Regarding location of {} in C family languages then
> I have never heard of a VMS style. C programmers
> use the style they use elsewhere, whatever that is.
> Java developers follow Java convention. Etc..

Fortran programmers can program Fortran in any language. :-)

Re: Coding style in the VMS's

<irim1mFit0kU6@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17352&group=comp.os.vms#17352

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: 29 Sep 2021 08:22:14 GMT
Lines: 34
Message-ID: <irim1mFit0kU6@mid.individual.net>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net /FdiV4KwIsLxmYPKcYh29wyvWFqeB0S6GJE1CnEPLQLvQ6TCeG
Cancel-Lock: sha1:TzupQJoEGxj3tT882TXLfdMZJAY=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Wed, 29 Sep 2021 08:22 UTC

On Wed, 29 Sep 2021 08:00:21 +0000, Phillip Helbig (undress to reply)
wrote:

> In article <6153494b$0$692$14726298@news.sunsite.dk>,
> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:
>
>> On 9/28/2021 12:33 PM, El SysMan wrote:
>> > Just interesting is the name for VMS coding style, any references ?
>> > Hungarian ? White ? Any other ?
>>
>> You are asking about VMS specific naming conventions and code
>> formatting style?
>>
>> There is a convention for DEC/CPQ/HP(E)/VSI stuff to use $ and own
>> stuff to use _. Never heard of a name for it.
>>
>> Regarding location of {} in C family languages then I have never heard
>> of a VMS style. C programmers use the style they use elsewhere,
>> whatever that is.
>> Java developers follow Java convention. Etc..
>
> Fortran programmers can program Fortran in any language. :-)

I once had to fix someone's ALGOL program. Labels in columns 1-5, code
starting in column 7, minimal use of control constructs in excess of the
most basic...

--
My posts are my copyright and if @diy_forums or Home Owners' Hub
wish to copy them they can pay me £1 a message.
Use the BIG mirror service in the UK: http://www.mirrorservice.org
*lightning surge protection* - a w_tom conductor

Re: Coding style in the VMS's

<29a704dd-62ec-4012-8e33-0df27b574718n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17353&group=comp.os.vms#17353

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:42c5:: with SMTP id g5mr10518947qtm.224.1632905875005;
Wed, 29 Sep 2021 01:57:55 -0700 (PDT)
X-Received: by 2002:ac8:71c1:: with SMTP id i1mr10362881qtp.367.1632905874817;
Wed, 29 Sep 2021 01:57:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 29 Sep 2021 01:57:54 -0700 (PDT)
In-Reply-To: <sivvuc$uam$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=110.141.199.187; posting-account=aiFgKwoAAADhXN8yuY9GOUK5pPhh21wH
NNTP-Posting-Host: 110.141.199.187
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <sivvuc$uam$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <29a704dd-62ec-4012-8e33-0df27b574718n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: andrew.commons@bigpond.com (Andrew Commons)
Injection-Date: Wed, 29 Sep 2021 08:57:55 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 15
 by: Andrew Commons - Wed, 29 Sep 2021 08:57 UTC

On Wednesday, 29 September 2021 at 6:33:11 am UTC+9:30, Stephen Hoffman wrote:
> On 2021-09-28 16:33:47 +0000, El SysMan said:
>
>
> OpenVMS itself commonly uses SDL (available on the freeware), and SDL
> can and usually does generate symbols using the traditional
> symbol-naming format.

> --
> Pure Personal Opinion | HoffmanLabs LLC

Before SDL there was MDL (Maynard Definition Language) which was simpler than SDL
(I emulated it in DCL) but which used the same symbol conventions.

I suspect MDL went back to the RSX days which puts it in the same time frame as
Hungarian Notation (1970ish) so they may be independent.

Re: Coding style in the VMS's

<61545d7a$0$698$14726298@news.sunsite.dk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17357&group=comp.os.vms#17357

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder5.feed.usenet.farm!feeder1.feed.usenet.farm!feed.usenet.farm!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Subject: Re: Coding style in the VMS's
Newsgroups: comp.os.vms
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net>
From: arne@vajhoej.dk (Arne Vajhøj)
Date: Wed, 29 Sep 2021 08:35:05 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <irim1mFit0kU6@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Lines: 57
Message-ID: <61545d7a$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 806bc617.news.sunsite.dk
X-Trace: 1632918906 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:49198
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 29 Sep 2021 12:35 UTC

On 9/29/2021 4:22 AM, Bob Eager wrote:
> On Wed, 29 Sep 2021 08:00:21 +0000, Phillip Helbig (undress to reply)
> wrote:
>
>> In article <6153494b$0$692$14726298@news.sunsite.dk>,
>> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:
>>
>>> On 9/28/2021 12:33 PM, El SysMan wrote:
>>>> Just interesting is the name for VMS coding style, any references ?
>>>> Hungarian ? White ? Any other ?
>>>
>>> You are asking about VMS specific naming conventions and code
>>> formatting style?
>>>
>>> There is a convention for DEC/CPQ/HP(E)/VSI stuff to use $ and own
>>> stuff to use _. Never heard of a name for it.
>>>
>>> Regarding location of {} in C family languages then I have never heard
>>> of a VMS style. C programmers use the style they use elsewhere,
>>> whatever that is.
>>> Java developers follow Java convention. Etc..
>>
>> Fortran programmers can program Fortran in any language. :-)
>
> I once had to fix someone's ALGOL program. Labels in columns 1-5, code
> starting in column 7, minimal use of control constructs in excess of the
> most basic...

Oh yes.

I posted this here a few months ago when this particular topic came up.

"Pascal" code:

PROGRAM GOTOFUN(INPUT,OUTPUT);
LABEL L731,L113,L247,L588,L761,L922,L399,L601;
VAR LBL:INTEGER;
VAR I:INTEGER;
BEGIN
L731: GOTO L113;
LBL:=399;
L113: I:=0;
WRITELN(I);
L247: LBL:=601;
IF(I<0)THEN GOTO L588 ELSE IF(I=0)THEN GOTO L922 ELSE GOTO L399;
L588: I:=I+1;
WRITELN(I);
GOTO L399;
L761: CASE(LBL)OF 399: GOTO L399; 601: GOTO L601; END;
L922: I:=I+1;
WRITELN(I);
CASE(I)OF 1: GOTO L588; 2: GOTO L399; 3: GOTO L922; END;
L399: GOTO L761;
L601: END.

Arne

Re: Coding style in the VMS's

<sj1o51$j1k$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17360&group=comp.os.vms#17360

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Wed, 29 Sep 2021 13:02:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <sj1o51$j1k$1@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Sep 2021 13:02:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a8c0ad41bd8b595df335584fc5a02eda";
logging-data="19508"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180H1jSxLcp/cbpuqGAvK3xYnCDiyiXu8I="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:WpMPhgseKZ5+U9FJFtbx3Me/cv8=
 by: Simon Clubley - Wed, 29 Sep 2021 13:02 UTC

On 2021-09-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> I posted this here a few months ago when this particular topic came up.
>
> "Pascal" code:
>
> PROGRAM GOTOFUN(INPUT,OUTPUT);
> LABEL L731,L113,L247,L588,L761,L922,L399,L601;
> VAR LBL:INTEGER;
> VAR I:INTEGER;
> BEGIN
> L731: GOTO L113;
> LBL:=399;
> L113: I:=0;
> WRITELN(I);
> L247: LBL:=601;
> IF(I<0)THEN GOTO L588 ELSE IF(I=0)THEN GOTO L922 ELSE GOTO L399;
> L588: I:=I+1;
> WRITELN(I);
> GOTO L399;
> L761: CASE(LBL)OF 399: GOTO L399; 601: GOTO L601; END;

Is that a computed goto implemented in Pascal ????????????? :-)

Wow.

I wonder if it's possible to also make assigned goto (which was even
more brain damaged IMHO) work in Pascal ?

IOW, do any Pascal variants allow you to goto a label held within
a variable ? (I hope not, but you never know.)

I have absolutely no idea BTW if you can do this - I've never tried
to do anything like that in Pascal.

> L922: I:=I+1;
> WRITELN(I);
> CASE(I)OF 1: GOTO L588; 2: GOTO L399; 3: GOTO L922; END;
> L399: GOTO L761;
> L601: END.
>

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Coding style in the VMS's

<615468b8$0$706$14726298@news.sunsite.dk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17363&group=comp.os.vms#17363

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Subject: Re: Coding style in the VMS's
Newsgroups: comp.os.vms
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me>
From: arne@vajhoej.dk (Arne Vajhøj)
Date: Wed, 29 Sep 2021 09:23:02 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <sj1o51$j1k$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Lines: 51
Message-ID: <615468b8$0$706$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 0978b255.news.sunsite.dk
X-Trace: 1632921784 news.sunsite.dk 706 arne@vajhoej.dk/68.9.63.232:51022
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 29 Sep 2021 13:23 UTC

On 9/29/2021 9:02 AM, Simon Clubley wrote:
> On 2021-09-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>
>> I posted this here a few months ago when this particular topic came up.
>>
>> "Pascal" code:
>>
>> PROGRAM GOTOFUN(INPUT,OUTPUT);
>> LABEL L731,L113,L247,L588,L761,L922,L399,L601;
>> VAR LBL:INTEGER;
>> VAR I:INTEGER;
>> BEGIN
>> L731: GOTO L113;
>> LBL:=399;
>> L113: I:=0;
>> WRITELN(I);
>> L247: LBL:=601;
>> IF(I<0)THEN GOTO L588 ELSE IF(I=0)THEN GOTO L922 ELSE GOTO L399;
>> L588: I:=I+1;
>> WRITELN(I);
>> GOTO L399;
>> L761: CASE(LBL)OF 399: GOTO L399; 601: GOTO L601; END;
>
> Is that a computed goto implemented in Pascal ????????????? :-)
>
> Wow.
>
> I wonder if it's possible to also make assigned goto (which was even
> more brain damaged IMHO) work in Pascal ?
>
> IOW, do any Pascal variants allow you to goto a label held within
> a variable ? (I hope not, but you never know.)
>
> I have absolutely no idea BTW if you can do this - I've never tried
> to do anything like that in Pascal.

No - it is emulating assigned goto as I don't think you can save a label
in a variable.

>> L922: I:=I+1;
>> WRITELN(I);
>> CASE(I)OF 1: GOTO L588; 2: GOTO L399; 3: GOTO L922; END;

This is the computed goto.

>> L399: GOTO L761;
>> L601: END.

Arne

Re: Coding style in the VMS's

<sj28pf$ujc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17370&group=comp.os.vms#17370

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Wed, 29 Sep 2021 17:46:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <sj28pf$ujc$1@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk> <sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Sep 2021 17:46:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a8c0ad41bd8b595df335584fc5a02eda";
logging-data="31340"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kR8OyjhlzlKLjXli5FEQKZVC/mFEh9y8="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:kFGzqP7OAUh6/P3UdE5TkcTGIBE=
 by: Simon Clubley - Wed, 29 Sep 2021 17:46 UTC

On 2021-09-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> No - it is emulating assigned goto as I don't think you can save a label
> in a variable.
>

Thanks Arne.

That code was so horrible I wasn't 100% sure what it was doing.

It looks like it was written by the kind of person who probably
wishes Hollerith constants were still a thing. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Coding style in the VMS's

<irkdlkFodcU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17378&group=comp.os.vms#17378

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gunshannon@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Wed, 29 Sep 2021 20:11:32 -0400
Lines: 25
Message-ID: <irkdlkFodcU1@mid.individual.net>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net UOYLIGK42XE0iME+UQxM/AZ6+PtlxBlev/VmdgALbAPcvsj4BF
Cancel-Lock: sha1:cDbFaXETylYp3BhtoeXOac+DEXM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <sj28pf$ujc$1@dont-email.me>
Content-Language: en-US
 by: Bill Gunshannon - Thu, 30 Sep 2021 00:11 UTC

On 9/29/21 1:46 PM, Simon Clubley wrote:
> On 2021-09-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>
>> No - it is emulating assigned goto as I don't think you can save a label
>> in a variable.
>>
>
> Thanks Arne.
>
> That code was so horrible I wasn't 100% sure what it was doing.

Stylistically, yes, it was horrible. But I had no problem
understanding it. But then, I have been doing production
Pascal for over 40 years.

>
> It looks like it was written by the kind of person who probably
> wishes Hollerith constants were still a thing. :-)

I doubt anyone still wants Hollerith constants. They were
needed once but those days are long gone.

bill

Re: Coding style in the VMS's

<ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17390&group=comp.os.vms#17390

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:b045:: with SMTP id z66mr3232316qke.271.1632980285459; Wed, 29 Sep 2021 22:38:05 -0700 (PDT)
X-Received: by 2002:ac8:7769:: with SMTP id h9mr4546042qtu.156.1632980285306; Wed, 29 Sep 2021 22:38:05 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 29 Sep 2021 22:38:05 -0700 (PDT)
In-Reply-To: <irkdlkFodcU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk> <sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk> <sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: lawrencedo99@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Thu, 30 Sep 2021 05:38:05 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Lawrence D’Oliveir - Thu, 30 Sep 2021 05:38 UTC

On Thursday, September 30, 2021 at 1:11:35 PM UTC+13, Bill Gunshannon wrote:
> I doubt anyone still wants Hollerith constants.

I remember in my younger days thinking how neat they were. You could have any (printable, at least) characters you liked in the string, no escaping conventions necessary.

Re: Coding style in the VMS's

<6a9b10bd-8e47-4211-b300-b6cac1276c21n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17395&group=comp.os.vms#17395

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:4819:: with SMTP id g25mr4827054qtq.364.1632988832422;
Thu, 30 Sep 2021 01:00:32 -0700 (PDT)
X-Received: by 2002:ac8:520c:: with SMTP id r12mr4873986qtn.118.1632988832170;
Thu, 30 Sep 2021 01:00:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 01:00:31 -0700 (PDT)
In-Reply-To: <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.254.50.2; posting-account=9f7q1AoAAABDPsFEcWiRS6khkDURMqEt
NNTP-Posting-Host: 80.254.50.2
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net> <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a9b10bd-8e47-4211-b300-b6cac1276c21n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: aaa.vms@gmail.com (El SysMan)
Injection-Date: Thu, 30 Sep 2021 08:00:32 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
 by: El SysMan - Thu, 30 Sep 2021 08:00 UTC

Thanks for answers OLD$K_BOYS! :-)

Re: Coding style in the VMS's

<75e11e5d-28f6-4040-b74d-1f85b0db7db4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17396&group=comp.os.vms#17396

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5ac7:: with SMTP id d7mr5032373qtd.382.1632990421332;
Thu, 30 Sep 2021 01:27:01 -0700 (PDT)
X-Received: by 2002:a37:a4cc:: with SMTP id n195mr3646420qke.86.1632990421200;
Thu, 30 Sep 2021 01:27:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 01:27:00 -0700 (PDT)
In-Reply-To: <6a9b10bd-8e47-4211-b300-b6cac1276c21n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.141.199.187; posting-account=aiFgKwoAAADhXN8yuY9GOUK5pPhh21wH
NNTP-Posting-Host: 110.141.199.187
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net>
<ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com> <6a9b10bd-8e47-4211-b300-b6cac1276c21n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75e11e5d-28f6-4040-b74d-1f85b0db7db4n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: andrew.commons@bigpond.com (Andrew Commons)
Injection-Date: Thu, 30 Sep 2021 08:27:01 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Andrew Commons - Thu, 30 Sep 2021 08:27 UTC

On Thursday, 30 September 2021 at 5:30:33 pm UTC+9:30, El SysMan wrote:
> Thanks for answers OLD$K_BOYS! :-)

I think that should be OLD$L_BOYS as in Long ... in the tooth.

Re: Coding style in the VMS's

<sj49j6$qej$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17397&group=comp.os.vms#17397

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Thu, 30 Sep 2021 12:12:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sj49j6$qej$1@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk> <sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk> <sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 30 Sep 2021 12:12:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1f89d890bd32204a70104d51dadf2e2b";
logging-data="27091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186sqK0W7MqeZS3FfJs+qATtfUQiI+EBp4="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:nRAhKEaJF0z4q9iDNwFCUomOB3Q=
 by: Simon Clubley - Thu, 30 Sep 2021 12:12 UTC

On 2021-09-29, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
> On 9/29/21 1:46 PM, Simon Clubley wrote:
>> On 2021-09-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>>
>>> No - it is emulating assigned goto as I don't think you can save a label
>>> in a variable.
>>>
>>
>> Thanks Arne.
>>
>> That code was so horrible I wasn't 100% sure what it was doing.
>
> Stylistically, yes, it was horrible. But I had no problem
> understanding it. But then, I have been doing production
> Pascal for over 40 years.
>

That wasn't Pascal Bill. :-) That was FORTRAN IV code using
Pascal syntax. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Coding style in the VMS's

<sj49l0$qej$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17398&group=comp.os.vms#17398

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Thu, 30 Sep 2021 12:13:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <sj49l0$qej$2@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk> <sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk> <sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net> <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
Injection-Date: Thu, 30 Sep 2021 12:13:20 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1f89d890bd32204a70104d51dadf2e2b";
logging-data="27091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+uxJzmG/TViRjeBZB8b886uikh842zHI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:mZyPBrdKAp80givutFrUXgQC8BA=
 by: Simon Clubley - Thu, 30 Sep 2021 12:13 UTC

On 2021-09-30, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
> On Thursday, September 30, 2021 at 1:11:35 PM UTC+13, Bill Gunshannon wrote:
>> I doubt anyone still wants Hollerith constants.
>
> I remember in my younger days thinking how neat they were. You could have any (printable, at least) characters you liked in the string, no escaping conventions necessary.

So it turns out you are a fixed-length field type of person after all. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Coding style in the VMS's

<d5d416dc-bc02-4f89-969e-827aaa0ac23an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17403&group=comp.os.vms#17403

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1882:: with SMTP id v2mr6297286qtc.130.1633008103860;
Thu, 30 Sep 2021 06:21:43 -0700 (PDT)
X-Received: by 2002:a37:a60f:: with SMTP id p15mr4788618qke.114.1633008103707;
Thu, 30 Sep 2021 06:21:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 06:21:43 -0700 (PDT)
In-Reply-To: <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=74.140.8.188; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 74.140.8.188
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net> <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d5d416dc-bc02-4f89-969e-827aaa0ac23an@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: osuvman50@gmail.com (David Jones)
Injection-Date: Thu, 30 Sep 2021 13:21:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 9
 by: David Jones - Thu, 30 Sep 2021 13:21 UTC

On Thursday, September 30, 2021 at 1:38:06 AM UTC-4, Lawrence D’Oliveiro wrote:
> On Thursday, September 30, 2021 at 1:11:35 PM UTC+13, Bill Gunshannon wrote:
> > I doubt anyone still wants Hollerith constants.
> I remember in my younger days thinking how neat they were. You could have any (printable, at least) characters you liked in the string, no escaping conventions necessary.

I still think they are neat, and wish SQL supported it.

Re: Coding style in the VMS's

<sj4pam$1i6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17410&group=comp.os.vms#17410

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaohveh@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Coding style in the VMS's
Date: Thu, 30 Sep 2021 12:40:54 -0400
Organization: HoffmanLabs LLC
Lines: 31
Message-ID: <sj4pam$1i6$1@dont-email.me>
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk> <sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk> <sj28pf$ujc$1@dont-email.me> <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com> <sj49l0$qej$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="1471b5c100eea2df781f887dc50b9f84";
logging-data="1606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188DeSp9OEi11K5g7MjlDG3dIrBwaLxknY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:bx6AhdJzSsixn7TtWugD3UnwaKU=
 by: Stephen Hoffman - Thu, 30 Sep 2021 16:40 UTC

On 2021-09-30 12:13:20 +0000, Simon Clubley said:

> On 2021-09-30, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
>> On Thursday, September 30, 2021 at 1:11:35 PM UTC+13, Bill Gunshannon wrote:
>>>
>>> I doubt anyone still wants Hollerith constants.
>>
>> I remember in my younger days thinking how neat they were. You could
>> have any (printable, at least) characters you liked in the string, no
>> escaping conventions necessary.
>
> So it turns out you are a fixed-length field type of person after all. :-)

Having UTF-8 string support and raw string support in a platform and in
a programming language makes most of this encoding a non-issue. In
Swift, for instance. ObjC does pretty well here, too.

This change is pervasive within a platform, both for the effort
involved to get everything (shell, compilers, editors, libraries)
working, and then for what can be done within the applications with
rather less of the syntactic obfuscation.

This does get ugly when you have to retrofit support into platforms and
apps, particularly with a platform that supports ASCII or DEC MCS / ISO
Latin 1 and that lacks robust Unicode and UTF-8 support.

There's a reason many old server apps tend to look dated...

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Coding style in the VMS's

<6155ebd0$0$695$14726298@news.sunsite.dk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17413&group=comp.os.vms#17413

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Subject: Re: Coding style in the VMS's
Newsgroups: comp.os.vms
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me>
<ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
<sj49l0$qej$2@dont-email.me> <sj4pam$1i6$1@dont-email.me>
From: arne@vajhoej.dk (Arne Vajhøj)
Date: Thu, 30 Sep 2021 12:54:35 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <sj4pam$1i6$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Lines: 37
Message-ID: <6155ebd0$0$695$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: ec45c48e.news.sunsite.dk
X-Trace: 1633020880 news.sunsite.dk 695 arne@vajhoej.dk/68.9.63.232:58048
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 30 Sep 2021 16:54 UTC

On 9/30/2021 12:40 PM, Stephen Hoffman wrote:
> On 2021-09-30 12:13:20 +0000, Simon Clubley said:
>> On 2021-09-30, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
>>> On Thursday, September 30, 2021 at 1:11:35 PM UTC+13, Bill Gunshannon
>>> wrote:
>>>>
>>>> I doubt anyone still wants Hollerith constants.
>>>
>>> I remember in my younger days thinking how neat they were. You could
>>> have any (printable, at least) characters you liked in the string, no
>>> escaping conventions necessary.
>>
>> So it turns out you are a fixed-length field type of person after all.
>> :-)
>
> Having UTF-8 string support and raw string support in a platform and in
> a programming language makes most of this encoding a non-issue.

I don't see why UTF-8 support should solve the problem of having
to escape the character used for string start and end.

And most platforms ten to use UTF-16 internally (memory) and
UTF-8 externally (IO).

> This change is pervasive within a platform, both for the effort involved
> to get everything (shell, compilers, editors, libraries) working, and
> then for what can be done within the applications with rather less of
> the syntactic obfuscation.
>
> This does get ugly when you have to retrofit support into platforms and
> apps,

As PHP 6 showed.

Arne

Re: Coding style in the VMS's

<66e87078-135d-47c6-856a-7996f4b0edb7n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17424&group=comp.os.vms#17424

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:4312:: with SMTP id z18mr9648853qtm.208.1633048311000;
Thu, 30 Sep 2021 17:31:51 -0700 (PDT)
X-Received: by 2002:a37:434a:: with SMTP id q71mr7584675qka.222.1633048310838;
Thu, 30 Sep 2021 17:31:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 17:31:50 -0700 (PDT)
In-Reply-To: <d5d416dc-bc02-4f89-969e-827aaa0ac23an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net>
<ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com> <d5d416dc-bc02-4f89-969e-827aaa0ac23an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <66e87078-135d-47c6-856a-7996f4b0edb7n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: lawrencedo99@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 01 Oct 2021 00:31:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Lawrence D’Oliveir - Fri, 1 Oct 2021 00:31 UTC

On Friday, October 1, 2021 at 2:21:45 AM UTC+13, osuv...@gmail.com wrote:
>
> On Thursday, September 30, 2021 at 1:38:06 AM UTC-4, Lawrence D’Oliveiro wrote:
>
>> On Thursday, September 30, 2021 at 1:11:35 PM UTC+13, Bill Gunshannon wrote:
>>
>>> I doubt anyone still wants Hollerith constants.
>>
>> I remember in my younger days thinking how neat they were. You could have any
>> (printable, at least) characters you liked in the string, no escaping conventions
>> necessary.
>
> I still think they are neat, and wish SQL supported it.

Given that you need escaping for non-printable characters, I suppose the loss in requiring them for quote characters as well (and the escape character itself) is small.

I can imagine people getting fed up with the tedium of counting how many characters were in their literals. Though I suppose having coding forms with numbered columns made this easier. And in Emacs, I can select the text and type alt-equals to find out exactly how many characters it contains.

On the flip side, you then have some fun when nesting one language in another. I once wrote some Python code which was outputting a web page with embedded JavaScript that was in turn generating further dynamic page content. I had up to seven backslashes in a row in places.

Re: Coding style in the VMS's

<2e7b2556-2e4f-43bf-9e10-7b0c924e9574n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17425&group=comp.os.vms#17425

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:80ec:: with SMTP id 99mr6780701qvb.53.1633048544034;
Thu, 30 Sep 2021 17:35:44 -0700 (PDT)
X-Received: by 2002:ac8:71c1:: with SMTP id i1mr9649175qtp.367.1633048543922;
Thu, 30 Sep 2021 17:35:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 17:35:43 -0700 (PDT)
In-Reply-To: <sj4pam$1i6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me> <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com>
<sj49l0$qej$2@dont-email.me> <sj4pam$1i6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2e7b2556-2e4f-43bf-9e10-7b0c924e9574n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: lawrencedo99@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 01 Oct 2021 00:35:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
 by: Lawrence D’Oliveir - Fri, 1 Oct 2021 00:35 UTC

On Friday, October 1, 2021 at 5:40:57 AM UTC+13, Stephen Hoffman wrote:
>
> Having UTF-8 string support and raw string support in a platform and in
> a programming language makes most of this encoding a non-issue.

And don’t forget identifiers. Unicode offers many creative ways of avoiding collisions with reserved words. For example, it might be quite natural for a routine which copies data from a producer to a consumer (with some processing along the way) to have arguments named “in” and “out”, but if (as in Python) “in” is a reserved word, you can substitute “ın” instead!

And I already mentioned being able to have “∕” in filenames, because *nix systems interpret “/” as the path component separator.

Re: Coding style in the VMS's

<147bf02d-4fb0-4e0d-a76d-edc03db4a3a3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17427&group=comp.os.vms#17427

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:492:: with SMTP id ay18mr6672296qvb.2.1633048852575;
Thu, 30 Sep 2021 17:40:52 -0700 (PDT)
X-Received: by 2002:ac8:74c7:: with SMTP id j7mr2224624qtr.118.1633048852470;
Thu, 30 Sep 2021 17:40:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 17:40:52 -0700 (PDT)
In-Reply-To: <sj49j6$qej$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com>
<6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org>
<irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk>
<sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk>
<sj28pf$ujc$1@dont-email.me> <irkdlkFodcU1@mid.individual.net> <sj49j6$qej$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <147bf02d-4fb0-4e0d-a76d-edc03db4a3a3n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: lawrencedo99@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 01 Oct 2021 00:40:52 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Lawrence D’Oliveir - Fri, 1 Oct 2021 00:40 UTC

On Friday, October 1, 2021 at 1:12:25 AM UTC+13, Simon Clubley wrote:
> That wasn't Pascal Bill. :-) That was FORTRAN IV code using
> Pascal syntax. :-)

All together now ...

*Real Programmers Can Write FORTRAN In Any Language!*

Really, though, as a sometime Pascal fan, all those redundant parentheses made me twitch. Yes, its simplified* operator precedence rules did require a fair few parentheses in places, but not where that program used them.

*Not to say limited

Re: Coding style in the VMS's

<a24ee028-94cc-4473-861c-dfd55f1eed31n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=17428&group=comp.os.vms#17428

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:2544:: with SMTP id s4mr7579404qko.219.1633049285820; Thu, 30 Sep 2021 17:48:05 -0700 (PDT)
X-Received: by 2002:ac8:4585:: with SMTP id l5mr9779927qtn.93.1633049285707; Thu, 30 Sep 2021 17:48:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 30 Sep 2021 17:48:05 -0700 (PDT)
In-Reply-To: <6155ebd0$0$695$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <bc723351-f76e-4cc3-b3ef-71e4d78aca07n@googlegroups.com> <6153494b$0$692$14726298@news.sunsite.dk> <sj16el$1sqv$2@gioia.aioe.org> <irim1mFit0kU6@mid.individual.net> <61545d7a$0$698$14726298@news.sunsite.dk> <sj1o51$j1k$1@dont-email.me> <615468b8$0$706$14726298@news.sunsite.dk> <sj28pf$ujc$1@dont-email.me> <ba2841a0-7797-426b-b47f-109c333a082en@googlegroups.com> <sj49l0$qej$2@dont-email.me> <sj4pam$1i6$1@dont-email.me> <6155ebd0$0$695$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a24ee028-94cc-4473-861c-dfd55f1eed31n@googlegroups.com>
Subject: Re: Coding style in the VMS's
From: lawrencedo99@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 01 Oct 2021 00:48:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: Lawrence D’Oliveir - Fri, 1 Oct 2021 00:48 UTC

On Friday, October 1, 2021 at 5:54:43 AM UTC+13, Arne Vajhøj wrote:
>
> And most platforms ten to use UTF-16 internally (memory) ...

UTF-16 was a face-saving compatibility hack which nobody voluntarily uses. It dates from the first versions of Unicode, when the standards committee assured everybody that, to paraphrase, “16 bits ought to be enough for anybody!”, that Unicode was UCS-2, now and for the future. And certain companies -- Sun with Java, Microsoft with Windows NT, Apple with HFS-Plus -- took them at their word.

Then a few years later the Unicode people changed their minds, and decided we weren’t just going to represent writing scripts in current use, but all the historical ones as well, so we needed something more like 20 bits (for now). And so the “surrogates” blocks were allocated, and what was originally UCS-2 was now redefined as UTF-16, to allow those abovementioned systems to be hacked to deal with the new reality.


computers / comp.os.vms / Coding style in the VMS's

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor