aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/forth2012/core/buffer.frt
blob: 10db671561a56eeb5bbdc6f35c852edeb2e87079 (plain)
1
2
3
4
5
6
\ allocate a buffer and give it a name in the dictionary
\ see http://www.forth200x.org/buffer.html

: buffer: ( n "<spaces>name" )
   \ variable already allocates 1 cell
   variable 1 cells - allot ;