From: beckwb@ois.com (R. William Beckwith)
Subject: Re: Access type conversion...
Date: 18 Jan 1995 13:51:30 -0500
Date: 1995-01-18T13:51:30-05:00 [thread overview]
Message-ID: <3fjnvi$98s@gamma.ois.com> (raw)
In-Reply-To: mbejeranD2Hn5E.q5@netcom.com
Marc J Bejerano (mbejeran@netcom.com) wrote:
: I have a question regarding access types. In my application, I have a data
: type which is a string pointer (Type PString is Access String) and a system
: address pointer (tempAddr : System.Address).
: How do I equate the general purpose System.Address to the PString?
Assume:
String_Ptr : PString := new string'("Hello" & Ascii.Nul);
from String_Ptr to System.Address:
tempAddr : System.Address := String_Ptr(String_Ptr'FIRST)'ADDRESS;
from System.Address to String_Ptr:
Don't. It won't be portable.
... Bill
next parent reply other threads:[~1995-01-18 18:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mbejeranD2Hn5E.q5@netcom.com>
1995-01-18 18:51 ` R. William Beckwith [this message]
1995-01-19 9:21 ` Access type conversion Whitteng
1995-01-20 8:59 ` Keith Thompson
1995-01-20 0:12 ` Garlington KE
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox