Question : comment in ada
Answered by : william-sherwood
-- The Ada programming language uses'--' to indicate a comment up to the end of the line.
--e.g: -- the air traffic controller task takes requests for takeoff and landing task type Controller (My_Runway: Runway_Access) is -- task entries for synchronous message passing entry Request_Takeoff (ID: in Airplane_ID; Takeoff: out Runway_Access); entry Request_Approach(ID: in Airplane_ID; Approach: out Runway_Access); end Controller;
APL
Source : | Last Update : Tue, 05 May 20