comp.lang.ada
 help / color / mirror / Atom feed
From: comicfanzine@gmail.com
Subject: Re: Basics : many way to use a Procedure
Date: Sat, 12 Dec 2015 06:41:50 -0800 (PST)
Date: 2015-12-12T06:41:50-08:00	[thread overview]
Message-ID: <360882c8-263e-42fd-b3ee-ef93cc11d8f4@googlegroups.com> (raw)
In-Reply-To: <6caaac83-bca4-4b75-a4b3-47189e281c1a@googlegroups.com>

Thanks for your answers everybody :)

But , i still don't know where this sign come from : " => " . Any information or A.R.M documentation about it ??

Also , how to use this ?? =

actual_parameter_part ::= 
    (parameter_association {, parameter_association})

And this ?? =

parameter_association ::= 
   [formal_parameter_selector_name =>] explicit_actual_parameter


For the moment , i figured out how to use this ( at least :) ) =

procedure_call_statement ::= 
    procedure_name;
  | procedure_prefix actual_parameter_part;

I used it like this :

    WITH Gtk.Main ;          USE Gtk.Main ;
    WITH Gtk.Window ;        USE Gtk.Window ;
    WITH Gtk.Enums ;         USE Gtk.Enums ;

    Procedure procedure_gtkada is
    
        win : Gtk_window ;
     
    begin
    
     Init ; 
     
	Gtk_New(Window => Win, 
		The_Type => Gtk.Enums.Window_Toplevel); 
			       
-- procedure Gtk_New
   --  (Window   : out Gtk_Window;
   --   The_Type : Gtk.Enums.Gtk_Window_Type := Gtk.Enums.Window_Toplevel);
     
     Show_all(win) ; 
     
       Main ; 
	
end procedure_gtkada;

-- Compile with : gnatmake procedure_gtkada `gtkada-config`
-- Of course you need the libgtkada .








  parent reply	other threads:[~2015-12-12 14:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 22:19 Basics : many way to use a Procedure comicfanzine
2015-12-12  0:00 ` Jeffrey R. Carter
2015-12-12  3:25 ` comicfanzine
2015-12-12  8:01   ` Niklas Holsti
2015-12-12 10:59   ` mockturtle
2015-12-14 10:52   ` Mark Lorenzen
2015-12-12 10:47 ` Lucretia
2015-12-12 14:41 ` comicfanzine [this message]
2015-12-12 17:11   ` Jeffrey R. Carter
2015-12-12 19:28   ` Simon Wright
2015-12-12 19:59     ` comicfanzine
2015-12-12 20:06     ` comicfanzine
2015-12-12 20:31       ` Simon Wright
2015-12-12 21:54         ` comicfanzine
2015-12-12 22:15         ` comicfanzine
2015-12-12 22:33           ` Jeffrey R. Carter
2015-12-13 15:22             ` comicfanzine
2015-12-13 15:29             ` comicfanzine
2015-12-13 15:34             ` comicfanzine
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox