comp.lang.ada
 help / color / mirror / Atom feed
From: "Matt Thomas" <matt_ontheroad@hotmail.com>
Subject: re: help setting up an array of records
Date: Sun, 26 May 2002 13:00:10 +0000 (UTC)
Date: 2002-05-26T13:00:10+00:00	[thread overview]
Message-ID: <acqm8p$o7q$1@helle.btinternet.com> (raw)

I posted a few days ago with a problem about setting up an array of records,
thanks for your everyones help on he matter but i still cant get it right.

I dont want the user to enter the values, i want to initialise them in the
code.
I'm trying to do it like this:

PRODUCT(1) := ("Cola        ",4,60,5);

From all I have read up about this should be the way to do it but i can't
get it to compile.
I get the error message: missing ":"
and the (1) is the section that is highlighted.

A few of you asked which textbook I'm using, it is "J. Skansholm, Ada 95
From the Beginning"





             reply	other threads:[~2002-05-26 13:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-26 13:00 Matt Thomas [this message]
2002-05-26 13:18 ` help setting up an array of records Preben Randhol
2002-05-26 13:24   ` Preben Randhol
2002-05-26 16:10     ` Matt Thomas
2002-05-28 15:01       ` Marin David Condic
2002-05-26 16:16 ` Matt Thomas
2002-05-26 19:53   ` Preben Randhol
  -- strict thread matches above, loose matches on Subject: below --
2002-05-22 15:09 Help " Matt Thomas
2002-05-22 16:39 ` Stephen Leake
2002-05-22 17:18 ` Marin David Condic
2002-05-22 17:32 ` Mark Johnson
2002-05-22 19:15 ` Preben Randhol
2002-05-23  1:58 ` Steve Doiel
replies disabled

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