Talk About Network



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 > Forth Mac > 16 bits array c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 95 of 157
Post > Topic >>

16 bits array cells being erased

by jeandal34@[EMAIL PROTECTED] (jd) Jan 21, 2005 at 09:09 AM

Hi,

I am running MacForth 5.2 on a Mac and have very strange things
happening with my arrays. When i create an array and enter a value in
the first cell as follows:
create MyArray 12 allot
221 MyArray !

if i view the content of the first cell the value is right:
MyArray @[EMAIL PROTECTED]
 . 
221

However if i now enter a value in the second cell of the 16 bit array:
230 MyArray 2 + !

and check the content of the first cell again, i obtain 0 : my first
cell has been erased!!

Do i do anything wrong? Can anyone help.
Thanks in advance,
jd




 4 Posts in Topic:
16 bits array cells being erased
jeandal34@[EMAIL PROTECTE  2005-01-21 09:09:26 
Re: 16 bits array cells being erased
ward@[EMAIL PROTECTED] (  2005-01-22 06:33:18 
Re: 16 bits array cells being erased
ward@[EMAIL PROTECTED] (  2005-01-23 07:52:44 
Re: 16 bits array cells being erased
Roelf Toxopeus <these3  2005-01-23 00:03:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Tue May 13 21:29:59 CDT 2008.