[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdewebdev/doc/kommander
From:       Eric Laffoon <sequitur () kde ! org>
Date:       2008-02-11 16:53:09
Message-ID: 1202748789.300870.4066.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 773704 by sequitur:

fixed error in comment section

 M  +2 -5      parser.docbook  


--- branches/KDE/3.5/kdewebdev/doc/kommander/parser.docbook #773703:773704
@@ -242,19 +242,16 @@
 <sect2 id="comments">
 <title>Comments</title>
 <para>
-You can use comments in &kommander; using the three traditional program language \
comment forms. For those users who are new to programming wondering <quote>what \
traditional form?</quote> see below. You can copy and paste the text below into a \
button or dialog initialization and see how comments behave in action. +You can use \
comments in &kommander; using the two traditional program language comment forms for \
line comments. For those users who are new to programming wondering <quote>what \
traditional form?</quote> see below. You can copy and paste the text below into a \
button or dialog initialization and see how comments behave in action.  </para>
 <screen>
 // this is a comment for one line
 message_info("Hello World") //traditional first program
 // the above comment also ignored - the messagebox is not
 # this is also a comment
-/*
-This is a multi-line comment
-message_info("This message will not show")
-*/
 message_info("This message will show")
 </screen>
+<note>Using /* */ as a comment will not work and will cause the rest of the widget \
execution to fail.</note>  </sect2>
 
 <sect2 id="globals">


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic