![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Marcel Hendrix wrote:
> Hi,
>
> Copying the following text from my text editor to the clipboard
> and pasting it in a SwiftForth window does NOT work. It seems that
> embedded TABs are casusing problems, or maybe there is a CR/LF issue
> (I'm using unix line endings).
>
> -marcel
>
>
<. . .>
From the third edition of _Forth_Application_Techniques_, pp. 17-18:
-----------------------------------
2.3.3. Compiling Forth Source
. . .
[Forth, Inc. logo indicating SwiftForth-specific details] SwiftForth
lets you use any text editor (Notepad or a programmer's editor) to
prepare your source. You can also type definitions directly into
SwiftForth's command window. If you wish, you can copy the text of a
definition from the command window to a file or vice versa. If you have
source in a file, you may direct Forth's text interpreter to it by using
the command INCLUDE:
INCLUDE <filename>
. . . will cause Forth to interpret the text in that file almost exactly
as though it is typed in the command window. The only difference is
that, when interpreting from a file, SwiftForth will ignore "whitespace"
characters such as TAB. It's not a good idea to use such characters in
your source, though, if you're using copy/paste to move individual
definitions into SwiftForth's command window, since they are _not_
ignored there!
-----------------------------------
Control characters in the range 0 .. 31 will not be interpreted as
whitespace in the SwiftForth command window. I did not find this
documented in the swiftforth-win32.pdf reference manual included with
SwiftForth 3.1.5.
--Andre Holliday
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sat Jun 14 2008 - 08:35:21 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:44 PST