Re: Easy question about Character manipulation
- From: "Jeffrey R. Carter" <jrcarter@xxxxxxx>
- Date: Wed, 31 Jan 2007 18:11:57 GMT
(see below) wrote:
It depends on whether they are value parameters or var (-iable) parameters.
Value parameters are in effect assigned their values,
and the permissive semantics of assignment compatibility apply;
var parameters must be of equivalent types, and type-equivalence in
ISO Pascal is name-equivalence.
When I learned Pascal (not ISO), my understanding was that
type
A = 1 .. 3;
was called a subrange, and defined A as what Ada calls a subtype of Integer. Since
B = 1 .. 3;
was another subtype of the same type (in Ada terms), assignment between them was no problem.
--
Jeff Carter
"Alms for an ex-leper!"
Monty Python's Life of Brian
75
.
- Follow-Ups:
- Re: Easy question about Character manipulation
- From: (see below)
- Re: Easy question about Character manipulation
- References:
- Easy question about Character manipulation
- From: mark
- Re: Easy question about Character manipulation
- From: Dmitry A. Kazakov
- Re: Easy question about Character manipulation
- From: Georg Bauhaus
- Re: Easy question about Character manipulation
- From: (see below)
- Re: Easy question about Character manipulation
- From: Georg Bauhaus
- Re: Easy question about Character manipulation
- From: (see below)
- Re: Easy question about Character manipulation
- From: Robert A Duff
- Re: Easy question about Character manipulation
- From: (see below)
- Easy question about Character manipulation
- Prev by Date: Re: Interfacing with C - pointer problem
- Next by Date: Re: Easy question about Character manipulation
- Previous by thread: Re: Easy question about Character manipulation
- Next by thread: Re: Easy question about Character manipulation
- Index(es):
Relevant Pages
|