Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #41690

Re: New Gforth "qixi" Snapshot

From "HAA" <someone@microsoft.com>
Newsgroups comp.lang.forth
Subject Re: New Gforth "qixi" Snapshot
Date 2015-09-03 16:05 +1000
Organization Aioe.org NNTP Server
Message-ID <ms8nrv$ea$1@speranza.aioe.org> (permalink)
References (5 earlier) <w8KdnQ1abt03TEfInZ2dnUU7-b2dnZ2d@supernews.com><e120410a-c268-46b0-882c-0cfde36342b9@googlegroups.com> <ZLudnWZi-apmFUbInZ2dnUU7-R2dnZ2d@supernews.com> <9b526861-2a2d-4186-9536-ace21328c59a@googlegroups.com> <ms43nt$i04$1@speranza.aioe.org> <19ffsoxna1bin.n8dfv0rntsl6$.dlg@40tude.net>

Show all headers | View raw


Coos Haak wrote:
> Op Tue, 1 Sep 2015 21:57:18 +1000 schreef HAA:
>
> > borota@gmail.com wrote:
> >> ...
> >> I was confused by the fact that I was not setting base to 16 myself. 'see'
> >> command in Gforth was failing and left the base flipped to 16 without me
> >> realizing it. I surely learned something out of that. In latest snapshot
> >> they fixed the issue though.
> >
> > LMI Forth changes base to decimal after ABORT.  You want to work in hex,
> > mis-type something, and bingo you're in decimal !  It threw me every time.
>
> Most implementations don't touch BASE.
> Setting BASE to 1 and then printing a number mostly
> gives overflow in <# .. #>
> Setting BASE to 0 may give a division exception.
>
> I have this code in my error-recovery
>   BASE @ 37 2 WITHIN IF DECIMAL THEN
> so BASE is only changed if somehow a program tries
> to set BASE to a wrong number. There is an exception
> when printing a number but afterwards we are in decimal.
>
> groet Coos

Assuming 0 or 1 doesn't crash the system first :)  In practice
nobody sets BASE to a value they don't intend to use.


Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 01:58 +0200
  Re: New Gforth "qixi" Snapshot "Alex McDonald" <blog@rivadpm.com> - 2015-08-20 09:41 +0100
    Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 14:21 +0200
    Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 18:54 +0200
      Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 20:12 +0200
  Re: New Gforth "qixi" Snapshot Marc Christiansen <usenetmail@solar-empire.de> - 2015-08-20 20:42 +0200
    Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 22:45 +0200
  Re: New Gforth "qixi" Snapshot peter.m.falth@gmail.com - 2015-08-21 11:47 -0700
    Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-21 23:23 +0200
    Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-22 00:28 +0200
      Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 10:38 -0700
        Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-23 23:53 +0200
          Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 15:25 -0700
            Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 18:42 -0400
              Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 16:43 -0700
                Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 19:53 -0400
                Re: New Gforth "qixi" Snapshot Coos Haak <chforth@hccnet.nl> - 2015-08-24 01:58 +0200
            Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-24 02:05 +0200
              Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 18:16 -0700
                Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 18:34 -0700
                Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 22:10 -0400
                Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 19:30 -0700
                Re: New Gforth "qixi" Snapshot Julian Fondren <julian.fondren@gmail.com> - 2015-08-23 20:27 -0700
                Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 21:05 -0700
                Re: New Gforth "qixi" Snapshot Julian Fondren <julian.fondren@gmail.com> - 2015-08-23 21:20 -0700
                Re: New Gforth "qixi" Snapshot anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-24 07:10 +0000
                Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-24 15:17 +0200
                Re: New Gforth "qixi" Snapshot anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-24 15:21 +0000
                Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-24 17:36 +0200
                Re: New Gforth "qixi" Snapshot Julian Fondren <ayrnieu@gmail.com> - 2015-08-23 19:12 -0700
                Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 22:10 -0400
                Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-23 22:11 -1000
                Re: New Gforth "qixi" Snapshot Mark Wills <markwills1970@gmail.com> - 2015-08-24 01:37 -0700
                Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-24 08:57 -0400
                Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-24 11:13 -1000
                Re: New Gforth "qixi" Snapshot Mark Wills <markwills1970@gmail.com> - 2015-08-25 03:09 -0700
                Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-25 19:34 -0700
                Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-25 21:38 -1000
                Re: New Gforth "qixi" Snapshot "HAA" <someone@microsoft.com> - 2015-09-01 21:57 +1000
                Re: New Gforth "qixi" Snapshot Coos Haak <chforth@hccnet.nl> - 2015-09-01 16:15 +0200
                Re: New Gforth "qixi" Snapshot "HAA" <someone@microsoft.com> - 2015-09-03 16:05 +1000
                Re: New Gforth "qixi" Snapshot dunno <dunno@dunno.dunno> - 2015-09-05 03:25 +0000
                Re: New Gforth "qixi" Snapshot "HAA" <someone@microsoft.com> - 2015-09-05 21:33 +1000
                Re: New Gforth "qixi" Snapshot dunno <dunno@dunno.dunno> - 2015-09-05 18:07 +0000
            Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-23 22:01 -1000
    Re: New Gforth "qixi" Snapshot jkn_gg@nicorp.f9.co.uk - 2015-08-23 05:34 -0700

csiph-web