accept  ( addr n -- n )

published: 9 January 2022 / updated 16 February 2022

Lire cette page en français

 

vocabulary: forth

Accepts n characters from the keyboard (serial port) and stores them in the memory area pointed to by addr.

Example:

create myBuffer 100 allot 
myBuffer 100 accept     \ on prompt, enter: This is an example 
myBuffer swap type      \ display: This is an example 

Legal: site web personnel sans commerce / personal site without seling