Talk:Comparison of programming languages (syntax)

message: =begin
    Block comment
    =end
I've tried, it doesn't work in Perl. It ignores everything after the "=end". I've read that Perl requires "=cut" to finish POD block.
May be that way will work better:
    =comment
    Block comment
    =cut
91.149.147.166 12:14, 20 August 2007 (UTC)

message: i really doubt it is true. at leas generally. for 
if(0) { } 
and   
if(0) {} else {} 
are valid. 
in contrast to 
if(1) ; 
84.16.123.194 (talk) 16:55, 25 February 2008 (UTC)
replies: text: C's compound statement is an exception to the rule. Such exceptions are pretty common. You could say Pascal is a period-terminated-statement language because of the end. to end the program. BrentDT (talk) 21:21, 10 March 2008 (UTC)
replies: text:  for ```Delphi Pascal``` and ```Lazarus Pascal``` , I think the end.</end> can also terminate a module.  I am not sure about UCSD Pascal or other Pascal systems that have modules. DaveJWhitten (talk) 14:35, 4 June 2021 (UTC)
thread_title:  is C semicolon terminated? 

message: The ABAP article says "The only requirement is that every statement ends in a period." This article says it's period-separated. Which is true? BrentDT (talk) 21:38, 10 March 2008 (UTC)
thread_title: Contradiction

message: A number of the newline terminated languages can properly detect when a statement spans lines. This is independent of their formal line-continuation syntax. The article doesn't address this and implies a newline will always terminate the statement (barring the line-continuation symbol).
The languages I am familiar with detect this by determining that a line is not syntactically valid on its own, but is when combined with one or more following lines. Or alternatively, they detect it when a line ends (whitespace excluded) with a character that requires an additional term (such as a binary mathematical operator).
Eiffel and Ruby are two such languages.
Xxiii (talk) 18:39, 14 October 2011 (UTC)
thread_title:  Newline termination and continuation 

message: Hey there, is there a table that compares printing syntax to all languages? --TudorTulok (talk) 14:11, 7 February 2014 (UTC)
replies: text: in some languages, printing just uses normal function syntax with a special name. (like Writeln in Pascal. Others build I/O into the language itself. DaveJWhitten (talk) 14:38, 4 June 2021 (UTC)
thread_title:  echo, print, console.log 

message: Hello fellow Wikipedians,
I have just modified 2 external links on Comparison of programming languages (syntax). 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/20100207151905/http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f0-5789.html to http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f0-5789.html
*Added archive https://web.archive.org/web/20130317015548/http://jmvdveer.home.xs4all.nl/report.html to http://jmvdveer.home.xs4all.nl/report.html
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
Cheers.—InternetArchiveBot (Report bug) 17:38, 11 August 2017 (UTC)
thread_title:  External links modified 

message: no 202.160.132.6 (talk) 17:39, 16 March 2023 (UTC)
thread_title:  Hindi