Singleton: Difference between revisions

Content added Content deleted
(Dialects of BASIC moved to the BASIC section.)
Line 1,010: Line 1,010:
Works with any ANS Forth
Works with any ANS Forth


Needs the FMS-SI (single inheritance) library code located here:
Needs the FMS2VT Forth extension located here:
https://github.com/DouglasBHoffman/FMS2/tree/master/FMS2VT
http://soton.mpeforth.com/flag/fms/index.html
<syntaxhighlight lang="forth">include FMS-SI.f
<syntaxhighlight lang="forth">include FMS2VT.f
\ A singleton is created by using normal Forth data
\ A singleton is created by using normal Forth data