Talk:Pascal (programming language)
This is the talk page for discussing improvements to the Pascal (programming language) article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1, 2Auto-archiving period: 3 months ![]() |
![]() | Pascal (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. | |||||||||
|
![]() | Computing: Software / CompSci C‑class Mid‑importance | ||||||||||||||||||||||
|
External links modified
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:
- Added archive https://web.archive.org/web/20101229090912/http://www.fscript.org/prof/javapassport.pdf to http://www.fscript.org/prof/javapassport.pdf
- Added archive https://web.archive.org/web/20150207194433/http://www.cs.berkeley.edu/~prabal/resources/osprelim/RAA+92.pdf to http://www.cs.berkeley.edu/~prabal/resources/osprelim/RAA+92.pdf
- Added archive https://web.archive.org/web/20101027073206/http://ts.fujitsu.com/products/bs2000/software/compiler/pascalxt.html to http://ts.fujitsu.com/products/bs2000/software/compiler/pascalxt.html
- Added archive https://web.archive.org/web/20050314152247/http://www.cs.inf.ethz.ch/~wirth/books/Pascal/ to http://www.cs.inf.ethz.ch/~wirth/books/Pascal/
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
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)
"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)
"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)
- I don't understand what happened either. Bubba73 You talkin' to me? 00:13, 30 November 2019 (UTC)
- 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]."
- Yes, I love that quote. Bubba73 You talkin' to me? 02:19, 30 November 2019 (UTC)
- 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)
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)
- Seems OK to merge to me. Bubba73 You talkin' to me? 03:01, 8 February 2022 (UTC)
- I'm unsure. Several variations have their own article. Bubba73 You talkin' to me? 04:06, 8 February 2022 (UTC)
- I feel in this case that the VSI Pascal dialect does not have enough notable distinctions to warrant a standalone article, unlike some of the other dialects which have their own articles. Vt320 (talk) 22:03, 27 March 2022 (UTC)
- I'm unsure. Several variations have their own article. Bubba73 You talkin' to me? 04:06, 8 February 2022 (UTC)
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)
Enumerations missing in the article
Nothing about enumerate types. The table:
Data type | Type of values which the variable is capable of storing |
---|---|
integer | integer (whole) numbers |
real | floating-point numbers |
boolean | the values True or False |
char | a single character from an ordered character set |
set | equivalent to an array of boolean values |
array | a countable group of any of the preceding data types or records |
record | A collection of any of the preceding data types |
string | a sequence or "string" of characters is declared as a "packed array of char" with a starting index of 1. These can be assigned string constants and individual characters can be accessed as elements of the array. |
must have an enumeration row, maybe:
Data type | Type of values which the variable is capable of storing |
---|---|
integer | integer (whole) numbers |
real | floating-point numbers |
boolean | the values True or False |
char | a single character from an ordered character set |
set | equivalent to an array of boolean values |
enums | type including different lables |
array | a countable group of any of the preceding data types or records |
record | A collection of any of the preceding data types |
string | a sequence or "string" of characters is declared as a "packed array of char" with a starting index of 1. These can be assigned string constants and individual characters can be accessed as elements of the array. |
and the corresponding section containing the syntax and an example. — Preceding unsigned comment added by 2806:106E:B:400F:F9:F69F:2ED7:3753 (talk) 06:12, 4 September 2022 (UTC)