Jump to content

Talk:Pascal (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2806:106e:b:400f:f9:f69f:2ed7:3753 (talk) at 05:51, 4 September 2022 (wrong, but understandable variant record example: small fix ; missing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:Vital article

Former featured article candidatePascal (programming language) is a former featured article candidate. Please view the links under Article milestones below to see why the nomination was archived. For older candidates, please check the archive.
Article milestones
DateProcessResult
March 1, 2008Featured article candidateNot promoted
WikiProject iconComputing: Software / CompSci C‑class Mid‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (assessed as Mid-importance).
Taskforce icon
This article is supported by WikiProject Computer science (assessed as Low-importance).
Things you can help WikiProject Computer science with:


Hello fellow Wikipedians,

I have just modified 4 external links on Pascal (programming language). Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

checkY An editor has reviewed this edit and fixed any errors that were found.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 21:59, 1 December 2017 (UTC)[reply]

"Pascal (programming langauge)" listed at Redirects for discussion

An editor has asked for a discussion to address the redirect Pascal (programming langauge). Please participate in the redirect discussion if you wish to do so. Steel1943 (talk) 18:29, 11 November 2019 (UTC)[reply]

"Bogged Down"

In the introduction, the article says that the ALGOL X process "Bogged down". I don't understand what this means. From my understanding, it could mean the process slowed down on its own, but also could mean that the process was slowed down by the introduction of ALGOL W. I think the article would benefit if someone corrected clarified this. Bepvte (talk) 00:10, 30 November 2019 (UTC); edited 00:53, 30 November 2019 (UTC)[reply]

I don't understand what happened either. Bubba73 You talkin' to me? 00:13, 30 November 2019 (UTC)[reply]
It's an informal and unreferenced phrase tht we're trying to interpret here, so maybe no really clear outcome is achievable. (And the phrase should probably be replaced, either way - with owt clearer if we can clarify usefully, and with owt less obscure, less vague, if not.)
The Algol X article tells a lot, via its links and references - mainly the November 2016 paper, ALGOL X and ALGOL Y, listed as an external link; the article's references 5 and 6 may be worth a look too. In summary, it seems tht the IFIP Working Group drew together all the right people, but they delegated to a small subcommittee which split and the work stalled: Wirth stepped away, continuing independently.
I remember reading much nearer the time tht Niklaus Wirth had shared his ideas, on an Algol-60 successor, with a colleague on (? ) the IFIP Group's subcommittee; and had been astonished (? putting it politely) when that colleague put forward proposals in a very different spirit at the subcommittee's next meeting.
A lovely story I also read was tht from time to time people would ask Wirth how to pronounce his name; and he would reply using Algol-60 terms: tht "in Europe they tend to call me by name [the correct form, tht one might spell in English as veert]; but in America people call me by value [worth]."
– SquisherDa (talk) 02:11, 30 November 2019 (UTC)[reply]
Yes, I love that quote. Bubba73 You talkin' to me? 02:19, 30 November 2019 (UTC)[reply]
Can U source it?? It really ought to go in the article on him if we can!! – SquisherDa (talk) 02:24, 30 November 2019 (UTC)[reply]

Merger Proposal (VSI Pascal)

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Merged

I propose merging VSI Pascal into this article. I think the information from that article can be condensed and added to Pascal (programming language)#Other variants without making this article too long. Vt320 (talk) 20:04, 7 February 2022 (UTC)[reply]

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

wrong, but understandable variant record example

The following example is understandable, but wrong:

TYPE
     TSystemTime = record
       Year, Month, DayOfWeek, Day : word;
       Hour, Minute, Second, MilliSecond: word;
     end;  
     TPerson = RECORD
        FirstName, Lastname: String;
        Birthdate: TSystemTime;
        Case isPregnant: Boolean of 
           true: (DateDue:TSystemTime);
           false: (isPlanningPregnancy: Boolean);
        END;

Person's sex is omitted, but pregnancy status is required even for men. Only women can be pregnant, is this a women record? also END for RECORD is missing. The following code is the union of male and female records, also female records have two variants for pregnant and not pregnant women:

TYPE
     TSex = (male, female) ;
     TSystemTime = record
       Year, Month, DayOfWeek, Day : word;
       Hour, Minute, Second, MilliSecond: word;
     end;  
     TPerson = Record
        FirstName, Lastname : String;
        Birthdate : TSystemTime;
        Case Sex : TSex of 
           female: Case isPregnant: Boolean of 
                      true: (DateDue:TSystemTime);
                      false: (isPlanningPregnancy: Boolean);
                   End {isPregnant Case};
           male: (hasVasectomy : Boolean);
        End {Sex Case} ;
     End {Record} ;

I did not change the example because I don't have a Pascal compiler to try it and many years have passed since the last time I wrote a program in Pascal. I am not sure it has a correct syntax. The second an maybe more important reason is because it is more complex than the original one. Another option is to rewrite the original example as follows:

TYPE
     TSystemTime = Record
       Year, Month, DayOfWeek, Day : word;
       Hour, Minute, Second, MilliSecond: word;
     end;  
     TWoman = Record
        FirstName, Lastname: String;
        Birthdate: TSystemTime;
        Case isPregnant: Boolean of 
           true: (DateDue:TSystemTime);
           false: (isPlanningPregnancy: Boolean);
        End {isPregnant case};
      End {TWoman Record};

Whichever option is taken, this example comes from another article, it should be changed in that page too. Of course not necessary identical each according to what is explained. — Preceding unsigned comment added by 2806:106E:B:400F:F9:F69F:2ED7:3753 (talk) 05:50, 4 September 2022 (UTC)[reply]