Re: [OT] Chinese Syntax

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: ozbear (ozbear_at_bigpond.com)
Date: 05/31/04


Date: Mon, 31 May 2004 09:50:29 GMT

On 29 May 2004 19:35:09 -0700, redfloyd11@yahoo.com (red floyd) wrote:

>Dan.Pop@cern.ch (Dan Pop) wrote in message news:<c956k1$p2m$4@sunnews.cern.ch>...
>> In <bu1cb0ltl9jqhs7pgpjeht4dh6jd4qbsac@4ax.com> Alan Balmer <albalmer@att.net> writes:
>
>> None of the programming languages assigning semantics to indentation
>> has ever become mainstream. There must be a reason...
>
>Not true. You're living in the present. In the past, when punch card
>input was the norm, indentation had a meaning. In particular, FORTRAN
>IV required input to begin in column 7 (or was it 8?), with a '*' in
>column 6(7) as continuation...
>
>DISCLAIMER: It's been nigh onto 25 years since I've done FORTRAN IV.
>My info on the specific columns may be incorrect.

Column 6 was for the continuation. Your code had to fit in columns
7 through 72. 73 through 80 was for a card sequence number, and
ignored by the compiler, IIRC.

Cobol also (originally) used column-positional syntax, Area A,
Area B, and so on.

Columns 1 through 6 (or 7) was for sequence numbers, followed by
Area A for paragraph names, and Area B for code, but its been a long
time.

At any rate, Dan is incorrect.

Oz

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Relevant Pages

  • Re: [OT] Chinese Syntax
    ... You're living in the present. ... >input was the norm, indentation had a meaning. ... In particular, FORTRAN ... At any rate, Dan is incorrect. ...
    (comp.lang.c)
  • [OT] indentation, was re: [OT] Chinese Syntax
    ... In the past, when punch card ... >>input was the norm, indentation had a meaning. ... In particular, FORTRAN ... See the RPG language for another slightly more modern (but much less ...
    (comp.lang.c)
  • Re: Python indentation deters newbies?
    ... >had previous encounters with FORTRAN IV, ... Not sure if I'm an unqualified newbie, but I'm a relative Python ... When I first encountered Python's indentation, ...
    (comp.lang.python)
  • Re: [OT] Chinese Syntax
    ... In particular, FORTRAN ... >At any rate, Dan is incorrect. ... None of these examples count as indentation being semantically ... I've used both fixed format Fortran and fixed format assemblers, ...
    (comp.lang.c)
  • Re: [PATCH] Remove indirect variable usage at arch/x86/kernel/tsc.c
    ... No comments on your patch, but it might be good to also fix the incorrect ... indentation here: line 644 needs an extra tab. ...
    (Linux-Kernel)