Okay, I'm done

16 views
Skip to first unread message

The Beez

unread,
Apr 4, 2025, 8:02:58 AMApr 4
to 4tH-compiler
Hi 4tH-ers!

I found that throughout the library, there were all kinds of variations like:

/CELL  8 - [IF] ..
/CELL  4 - [IF] ..
/CELL  8 [=] [IF] ..
/CELL  4 [=] [IF] ..

It's all conditional code to differentiate between 32bits versions and 64bits versions. Now, it's ugly because it doesn't really say what it is for - unless there is a meaningful comment.

So.. I fixed that. I added two constants to CONSTANT.4TH, 32bit? and 64bit?. I think it's obvious what they stand for. I went through the entire repository and changed it where appropriate.

Of course, if you use the versions in SVN or go to the new version (when it is released) you can benefit from it now. Note any old constructs will still work.

Hans Bezemer


Reply all
Reply to author
Forward
0 new messages