Difference between revisions of "Template:L comment"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
 
Line 3: Line 3:
 
Template use to typeset an event name in an event-b listing.
 
Template use to typeset an event name in an event-b listing.
 
==Example==
 
==Example==
{{l_action|act1|a:= 0}}{{l_comment|This is a comment}}
+
{{l_action|act1|2=a:= 0}}{{l_comment|This is a comment}}
{{l_action|act2|c:= a + 1}}
+
{{l_action|act2|2=c:= a + 1}}
  
  

Latest revision as of 13:55, 26 February 2009

Usage

Template use to typeset an event name in an event-b listing.

Example

act1 :

a:= 0

// This is a comment

act2 :

c:= a + 1

Template

// {{{1}}}