Pop-Up Thingie
Sidebar
War Ensemble BBS
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Newsgroups
comp.lang.forth
ED-like paragraphs
From
sjack
@sjack@dontemail.me (sjack) to
comp.lang.forth
on Fri Mar 7 20:06:52 2025
From Newsgroup: comp.lang.forth
Using ED-like paragraph words for mulitple lines of text.
*P ( ccc</n.> -- ) Print multiple lines of text
*P
Print multiple lines of text
until a period appears
on a line by itself.
.
*A ( ccc</n.> a -- a u ) Add multiple lines of text to buffer
pad *A
Add multiple lines of text
to given buffer until a period
begins a newline.
. i. cr type
Add multiple lines of text
to given buffer until a period
begins a newline.
*, ( ccc</n.> -- ) Compile multiple lines of text
: *, rtc back allot drop trek here *a ;
+voc
Compile g-string
here *,
Now is the time
For all good men
To come home.
. here om 2value gFoo
i. cr gFoo type
Now is the time
For all good men
To come home.
Compile counted string
: *,s rtc back here om 1- swap c! trek here 0 c, *, ;
+voc
create: sfoo *,s
Now is the time
For all good men
To come home.
. i. cr sfoo tell
Now is the time
For all good men
To come home.
-fin-
--- Synchronet 3.20c-Linux NewsLink 1.2
Who's Online
Recent Visitors
Microbot
Fri Apr 18 06:08:31 2025
from
Moore, Ok
via
Telnet
Noozle
Fri Apr 18 05:04:09 2025
from
Noozle City
via
Telnet
Oodler
Fri Apr 18 01:30:42 2025
from
Houston, Texas
via
Raw
Noozle
Thu Apr 17 18:11:52 2025
from
Noozle City
via
Telnet
System Info
Sysop:
DaiTengu
Location:
Appleton, WI
Users:
1,030
Nodes:
10 (
0
/
10
)
Uptime:
199:02:57
Calls:
13,340
Calls today:
3
Files:
186,574
D/L today:
3,031 files
(927M bytes)
Messages:
3,357,009