From: Dale Stanbrough <dale@goanna.cs.rmit.edu.au>
Subject: Re: Two simple language questions
Date: 1998/01/07
Date: 1998-01-07T00:00:00+00:00 [thread overview]
Message-ID: <68vkhf$2of$1@goanna.cs.rmit.edu.au> (raw)
In-Reply-To: 68uq34$7tk@tomquartz.niestu.com
In article <68uq34$7tk@tomquartz.niestu.com> Chip Richards,
chipr@niestu.com writes:
> strs: StringArr :=
> (
> new string'("Line 1"),
> new string'("Line 2"),
> ...
> new string'("Line the Last")
> );
re ragged arrays..
not as easy as in C . The solution is to simulate what the C compiler
does.
A snippet from an ada95 update i did to the anna toolkit prolog
interpreter.
type Acc_String is access constant String;
Var_Space_Str : aliased constant String := "out of variable name
space";
Wierd_Ch_Str : aliased constant String := "illegal character in
input";
Fault_Str : aliased constant String := "internal error";
In_File_Depth_Str : aliased constant String := "nesting-level of
'see' is to deep";
Out_File_Depth_Str : aliased constant String := "nesting-level of
'tell' is to deep";
File_Name_Str : aliased constant String := "file-name error";
File_Status_Str : aliased constant String := "status error";
Init_Str : aliased constant String := "error during
initialization";
Err_Array : array (Error_Type) of Acc_String := (
Arity_Error => Arity_Str'Access,
Assert_Error => Assert_Str'Access,
Atom_Space_Error => Atom_Space_Str'Access,
Bad_Cdd_Error => Bad_Cdd_Str'Access,
Bad_Char_Error => Bad_Char_Str'Access,
Bad_Delim_Error => Bad_Delim_Str'Access,
Bad_Exp_Error => Bad_Exp_Str'Access,
Call_Error => Call_Str'Access,
Clause_Error => Clause_Str'Access,
Comment_Error => Comment_Str'Access,
Dale
next prev parent reply other threads:[~1998-01-07 0:00 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-07 0:00 Two simple language questions Chip Richards
1998-01-07 0:00 ` Tucker Taft
1998-01-07 0:00 ` Robert Dewar
1998-01-07 0:00 ` Matthew Heaney
1998-01-10 0:00 ` Two simple language questions (plural types) Michael F Brenner
1998-01-10 0:00 ` Robert Dewar
1998-01-10 0:00 ` Matthew Heaney
1998-01-10 0:00 ` Robert Dewar
1998-01-12 0:00 ` Anonymous
1998-01-12 0:00 ` Brian Rogoff
1998-01-12 0:00 ` Matthew Heaney
1998-01-12 0:00 ` Brian Rogoff
1998-01-13 0:00 ` Robert Dewar
1998-01-13 0:00 ` Distinguishing type names from other identifiers Nick Roberts
1998-01-13 0:00 ` Matthew Heaney
1998-01-14 0:00 ` Stephen Leake
1998-01-24 0:00 ` Matthew Heaney
1998-01-15 0:00 ` Anonymous
1998-01-24 0:00 ` Matthew Heaney
1998-01-24 0:00 ` Martin M Dowie
1998-01-24 0:00 ` Martin M Dowie
1998-01-24 0:00 ` Pred Nick Roberts
1998-01-25 0:00 ` Distinguishing type names from other identifiers Matthew Heaney
1998-01-15 0:00 ` Aaro Koskinen
1998-01-17 0:00 ` Martin M Dowie
1998-01-17 0:00 ` Martin M Dowie
1998-01-25 0:00 ` Matthew Heaney
1998-01-25 0:00 ` Brian Rogoff
[not found] ` <n5rs5FAStOz0Ew2+@dowie-cs.demon.co.uk>
1998-01-26 0:00 ` Brian Rogoff
1998-01-27 0:00 ` Martin M Dowie
1998-01-27 0:00 ` Brian Rogoff
1998-01-27 0:00 ` Matthew Heaney
1998-01-28 0:00 ` Brian Rogoff
1998-01-28 0:00 ` Matthew Heaney
1998-01-29 0:00 ` Brian Rogoff
1998-01-30 0:00 ` Mats Weber
1998-01-28 0:00 ` Martin M Dowie
1998-01-11 0:00 ` Two simple language questions (plural types) Brian Rogoff
1998-01-07 0:00 ` Dale Stanbrough [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-01-07 0:00 Two simple language questions tmoran
1998-01-07 0:00 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox