From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,62959480ff06e49e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-04 15:40:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com!wn3feed!wn4feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail From: "Jeffrey Creem" Newsgroups: comp.lang.ada References: Subject: Re: Two questions X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 66.31.5.146 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1025822423 66.31.5.146 (Thu, 04 Jul 2002 22:40:23 GMT) NNTP-Posting-Date: Thu, 04 Jul 2002 22:40:23 GMT Organization: AT&T Broadband Date: Thu, 04 Jul 2002 22:40:23 GMT Xref: archiver1.google.com comp.lang.ada:26862 Date: 2002-07-04T22:40:23+00:00 List-Id: Look at : gtkada.eu.org You will have to download and install the gtk toolkit for solaris. Gtk has gotten pretty tough to compile (lot of packages) but it does go fairly smoothly. On the plus side, future Solaris versions will include GNOME (www.gnome.com) and thus Gtk libraries. Also, to some extent, you application GUI code can run under Windows with the Gtk libraries that have been ported to that platform. Get a copy of glade (glade.gnome.org). It is a gui builder that supports Gtk (and GtkAda) and when you are just starting out it makes things a lot easier. Finally..Your message is a little confusing since you say you could use Visual C? On Solaris? Hmm.. "Mark" wrote in message news:a5ae824.0207041425.671c1d02@posting.google.com... > Gents I'd like to do a GUI application in ADA. The application will > be run on Solaris. Is there a 'free' toolset I could start off with > that offers ease of use. Rapid seems to be the only one. In any > event, help. > > > Could someone provide sample code on accomplishing a task. I have an > application where I want the user to enter up to 250 values max. > Values are in the range 1 .. 65535. > So now the user will first tell me how many values he wants: lets > assume the user wants 10 values. > My next question would be for user to enter the 10 values within the > range specified above. I'll then store user defined values into an > array which I'll pass on to a function that'll take user defined > values and parse into 'hibyte versus lobyte'. The function part i > can handle however,the user selection part I'm a bit confused about. > > I'd like to also have the option to to use a random number generator. > This helps such that if the user watns 200 values. I'll generate 200 > random numbers within specified range. > > So now my 'menu' would look like this: > -- 1. How many numbers. > -- 2. Random Numbers or User defined > -- 3. Store numbers into array. > -- 4. Pass numbers into function. > > I could do all this in Visual C etc, but as i'm learning Ada I've > grown to like it and am now trying to perfect my Ada. > > Thanks in advance