Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 2 > TS and an addre...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 281 of 376
Post > Topic >>

TS and an address of a const?

by "AC Joubert" <acj@[EMAIL PROTECTED] > Jun 8, 2006 at 06:27 PM

I want to get the address of a constant in TopSpeed Modula-2 but can't. Has
anybody solved this problem.
Example

MODULE MyProg;
FROM Storage IM****T ALLOCATE;
IM****T Lib;
CONST
c1='000';
VAR
v1:POINTER TO ARRAY[0..2] OF CHAR;
BEGIN
ALLOCATE(v1,3);
Lib.Move(ADR(c1),v1,3);
END;
-- 
AC(hristoff) Joubert at Paul Jungnickel Home, Plot 14,
Lynnwood Road, Zwavelpoort, Gauteng, RSA (residence);
Box 2066, Zwavelpoort, 0036, South Africa (post);
27128090245 (fax&Tele-Soft BBS); acj@[EMAIL PROTECTED]
 (e-mail)
 




 5 Posts in Topic:
TS and an address of a const?
"AC Joubert" &l  2006-06-08 18:27:12 
Re: TS and an address of a const?
comp.lang.modula2@[EMAIL   2006-06-08 19:37:59 
Re: TS and an address of a const?
|||newspam|||@[EMAIL PROT  2006-06-09 03:32:52 
Re: TS and an address of a const?
Marco van de Voort <ma  2006-06-09 11:10:09 
Re: TS and an address of a const?
|||newspam|||@[EMAIL PROT  2006-06-09 03:52:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:23:16 CDT 2008.