Description:
Discussion about Forth.
|
|
|
Why buffer contents can be influenced by EMIT or TYPE?
|
| |
There is a statement in "Starting Forth":
"...system will copy block 1 of the currently open file into one of the system
buffers. BLOCK also leaves on the stack the address of the beginning of the
buffer (1024 bytes, remember) that it used. The contents of this buffer are
guaranteed to stay valid until you execute a word from the set of procedures... more »
|
|
Adding thousands separators
|
| |
No-frills code for adding thousands separators to a decimal
numeric string.
Assumes your Forth has some way of generating numeric
strings e.g. (D.) (F.) etc. If the source string lies in the PNO
buffer it will need copying elsewhere first. Customize for
your locale. If you can do it in less, let us know.... more »
|
|
ANN: Cweed Version 3.4 with NumName
|
| |
Hi All,
I have just added a new feature to Cweed - NumName - from NumName.f :
\ NumName.f Howerd Oakford V1.0 2012 Feb 09 Win32Forth version
[link]
\ Display a 15 bit number (from 0 to 32767) as an English word, and
two 15 bit numbers as a pair of words.
\ The two-word phrase calculated from the checksum or hash of two... more »
|
|
Gforth strange bug with SAVECROSS
|
| |
Hi,
I'm still tinkering around with Gforth-EC, and think I've hit a bug with
Gforth's cross-compiler, in SAVECROSS.
Specifically this code causes crashes for me and the bug is easily spotted:
>rom dictionary >rmem @ there
s" rom" X $has? IF dictionary >rstart @ - THEN
r@ ~~ write-file throw \ write image... more »
|
|
Aliases
|
| |
Hi All,
I want to copy existing words into a new wordlist.
My first thought was to use:
...
However, this doesn't work for copying IMMEDIATE words. I can use
EVALUATE, but it's very wordy:
... S" : " PAD PLACE BL WORD DUP >R COUNT 2DUP PAD APPEND
S" " PAD APPEND
R> FIND NIP DUP IF 1 =... more »
|
|
Sets in Forth
|
| |
Part of a recent project was to generate the numbers 1-24 in random order. One tack is to:
1) Initialize an "array" of 24 bytes to 0
2) For each of 24 times
a) Get a random number between 0 and
(the number of possible numbers - 1)
b) Look at the array of available numbers using this position number... more »
|
|
Gforth-EC, the underappreciated embedded Forth
|
| |
Hi,
I've been having a look at Gforth-EC lately, that's the embedded
cross-compiled Forth support that has been included with Gforth all the
time, but as it's well hidden and pretty undocumented, I guess most
people wouldn't have noticed it.
Now it turns out it only takes a few commands to generate a usable 8086... more »
|
|
Solutions Manuals, Instructor Manuals, Test Banks collection 2012
|
| |
Hello,
We would like to inform you that we have updated our list with the
following new titles.
You can contact us directly at Student.p24(at)Hotmail(dot)com .
If the title you are looking for is not listed, do not hesitate to
contact us,
we will try to help.
==========
2011 Federal Taxation, 5th Edition 2011, Pratt.Kulsrud, Instructor... more »
|
|
|