From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!aioe.org!epJzlJsZWlp1WuFmYLlBpQ.user.46.165.242.91.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: A new universe of Ada Date: Mon, 26 Sep 2022 11:16:27 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <8d3a421a-4aff-4259-8eec-9b4219b270e6n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="54705"; posting-host="epJzlJsZWlp1WuFmYLlBpQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:64417 List-Id: On 2022-09-26 10:04, Rick Duley wrote: > Okay - you can use GDB within Studio. Great, but first I have to write a program. > > Please ... > > Assume: I am an Elementary School kid brought up by his Grandparents who are still struggling to control an abacus. Assume I know absolutely nothing at all about programming. Assume that I do not speak Geek! Assume that there is access to a PC with Gnat Studio installed. > > Now: Teach me how to write "Hello_World" using Studio from scratch right up to where I have 'hello_world.exe' and can run it. That'll be great! Then I'll have something to tell Grandma about. :) 1. Start GPS 2. Select default project 3. Press File->New file 4. Type: project Hello_World is for Main use ("hello_world.adb"); end Hello_World; 5. File->Save as hello_world.gpr 6. Press File->New file 7. Type: with Ada.Text_IO; use Ada.Text_IO; procedure Hello_World is begin Put_Line ("Hello world!"); end Hello_World; 8. File->Save as hello_world.adb 9. Press File->Open Project and select file hello_world.gpr You are done. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de