CVS difference for ais/ai-00036.txt

Differences between 1.6 and version 1.7
Log of other versions for file ais/ai-00036.txt

--- ais/ai-00036.txt	2000/06/21 23:39:06	1.6
+++ ais/ai-00036.txt	2000/07/15 02:29:53	1.7
@@ -23,14 +23,11 @@
 
 The syntax given for pragma Import is
 
+   <<Start_Example>>
    pragma Import (
-
       [Convention => ] convention_identifier        -- (1)
-
       , [Entity =>] local_name                      -- (2)
-
       [ , [External_Name => ] string_expression ]   -- (3)
-
       [ , [Link_Name => ] string_expression ] ) ;   -- (4)
 
 (and similarly for pragma Export).
@@ -38,20 +35,24 @@
 Does this imply that named notation cannot be used to reorder the
 arguments?  For example, is the following pragma legal?  (No.)
 
-  pragma Import(C, Raise_Signal,
-    Link_Name => "raise", External_Name => "._raise"); -- Illegal!
+   <<Start_Example>>
+   pragma Import(C, Raise_Signal,
+      Link_Name => "raise", External_Name => "._raise"); -- Illegal!
 
 Secondly, is there a rule from which I can deduce that
 
+   <<Start_Example>>
    pragma Import (C, Raise_Signal, "raise");
 
 means
 
+   <<Start_Example>>
    pragma Import (C, Raise_Signal, External_Name => "raise");
 
 (by eliding the text in the outer brackets on line (4) and the text in
 the inner brackets on line (3)) rather than
 
+   <<Start_Example>>
    pragma Import (C, Raise_Signal, Link_Name => "raise");
 
 (by eliding the text in the outer brackets on line (3) and the text in
@@ -74,10 +75,12 @@
 same rules as subprograms -- if positional notation is used, the
 arguments are associated in order.  Thus,
 
+   <<Start_Example>>
    pragma Import (C, Raise_Signal, "raise");
 
 means:
 
+   <<Start_Example>>
    pragma Import (C, Raise_Signal, External_Name => "raise");
 
 since External_Name is the third argument of pragma Import.

Questions? Ask the ACAA Technical Agent