Post Reply 
Forth-41
09-07-2022, 03:31 PM
Post: #34
RE: Forth-41
The BASE will always be 10 in the current mode. Note that the "." word that prints the top of the stack prints it in using the current BASE.

You should try
BASE @ DECIMAL .
to print out the current base in base 10, where you should see 16. Which has the side effect of changing the base to DECIMAL. To preserve it, something like
BASE @ DUP DECIMAL . BASE !
would restore the BASE after printing.

Note that I've never used Forth-41; this is just based on my generic experience with FORTH.

Central PA, USA
16C, 48G, 39gs(newRPL), 40gs(newRPL), 50g(newRPL), Prime G2
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Forth-41 - jjohnson873 - 12-04-2020, 09:48 PM
RE: Forth-41 - hth - 12-04-2020, 10:03 PM
RE: Forth-41 - Craig Bladow - 12-05-2020, 12:25 AM
RE: Forth-41 - hth - 12-17-2020, 06:17 PM
RE: Forth-41 - Craig Bladow - 12-17-2020, 06:38 PM
RE: Forth-41 - hth - 12-17-2020, 11:05 PM
RE: Forth-41 - Craig Bladow - 12-18-2020, 01:27 AM
RE: Forth-41 - Ángel Martin - 12-06-2020, 07:58 AM
RE: Forth-41 - rprosperi - 12-04-2020, 11:40 PM
RE: Forth-41 - jjohnson873 - 12-05-2020, 01:52 AM
RE: Forth-41 - Gene - 12-05-2020, 02:05 PM
RE: Forth-41 - Sylvain Cote - 12-05-2020, 02:43 PM
RE: Forth-41 - Ángel Martin - 12-06-2020, 07:53 AM
RE: Forth-41 - rprosperi - 12-06-2020, 01:47 PM
RE: Forth-41 - ThomasF - 12-05-2020, 08:52 AM
RE: Forth-41 - Sylvain Cote - 12-05-2020, 02:49 PM
RE: Forth-41 - Ángel Martin - 12-06-2020, 07:48 AM
RE: Forth-41 - Ángel Martin - 12-08-2020, 07:20 AM
RE: Forth-41 - smp - 12-08-2020, 01:55 PM
RE: Forth-41 - Ángel Martin - 12-08-2020, 03:48 PM
RE: Forth-41 - smp - 12-08-2020, 09:31 PM
RE: Forth-41 - ThomasF - 12-08-2020, 01:04 PM
RE: Forth-41 - Ángel Martin - 12-14-2020, 05:56 PM
RE: Forth-41 - rprosperi - 12-14-2020, 06:27 PM
RE: Forth-41 - Massimo Gnerucci - 12-14-2020, 06:44 PM
RE: Forth-41 - Ángel Martin - 12-15-2020, 01:32 PM
RE: Forth-41 - jjohnson873 - 12-27-2020, 06:19 PM
RE: Forth-41 - smp - 12-27-2020, 08:25 PM
RE: Forth-41 - jjohnson873 - 12-28-2020, 02:09 AM
RE: Forth-41 - Ángel Martin - 12-28-2020, 06:48 AM
RE: Forth-41 - CY-CL - 12-27-2020, 07:20 PM
RE: Forth-41 - Gene - 12-27-2020, 07:46 PM
RE: Forth-41 - dmh - 09-07-2022, 11:13 AM
RE: Forth-41 - lmamakos - 09-07-2022 03:31 PM
RE: Forth-41 - rprosperi - 09-07-2022, 09:03 PM
RE: Forth-41 - Garth Wilson - 09-07-2022, 09:51 PM
RE: Forth-41 - dmh - 09-08-2022, 01:36 AM
RE: Forth-41 - dmh - 09-08-2022, 11:30 AM
RE: Forth-41 - rprosperi - 09-09-2022, 04:43 AM
RE: Forth-41 - Garth Wilson - 09-09-2022, 06:25 AM
RE: Forth-41 - dmh - 09-09-2022, 11:14 AM
RE: Forth-41 - Joe Horn - 09-09-2022, 11:29 AM
RE: Forth-41 - dmh - 10-13-2022, 10:06 AM
RE: Forth-41 - Ángel Martin - 10-19-2022, 05:27 PM
RE: Forth-41 - rprosperi - 10-19-2022, 06:01 PM
RE: Forth-41 - dmh - 10-20-2022, 01:18 AM
RE: Forth-41 - dmh - 10-18-2022, 02:38 PM
RE: Forth-41 - Ángel Martin - 10-19-2022, 08:43 AM
RE: Forth-41 - Ángel Martin - 10-20-2022, 05:44 AM
RE: Forth-41 - mfleming - 10-21-2022, 05:50 PM
RE: Forth-41 - Massimo Gnerucci - 10-21-2022, 08:43 PM
RE: Forth-41 - Ángel Martin - 10-23-2022, 02:30 AM
RE: Forth-41 - coniglius - 02-11-2023, 12:52 PM
RE: Forth-41 - dmh - 02-12-2023, 03:40 AM
RE: Forth-41 - coniglius - 02-12-2023, 09:16 AM
RE: Forth-41 - coniglius - 02-12-2023, 09:00 PM
RE: Forth-41 - dmh - 02-24-2023, 01:07 AM
RE: Forth-41 - coniglius - 02-24-2023, 12:06 PM
RE: Forth-41 - dmh - 02-24-2023, 12:15 PM



User(s) browsing this thread: 7 Guest(s)