Talk:Comparison of programming languages (syntax)

From Wikipedia, the free encyclopedia

=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)

[edit] is C semicolon terminated?

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)

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)

[edit] Contradiction

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)