Anonymous user
Simple database: Difference between revisions
Added COBOL solution with sample session. Re-formatted Forth section.
(Added COBOL solution with sample session.) |
(Added COBOL solution with sample session. Re-formatted Forth section.) |
||
Line 1,075:
Simple in-memory database. Load/dump database from/to a file.
{{works with|GNU Forth|Gforth|0.7}}
<pre>
+: betty 1974.03.03;coworker;reading;
Line 1,086 ⟶ 1,087:
+: gammaQ3.14 3045.09.09;friend;watch movies, star walking;
</pre>
<pre>
▲Example usage:
$ gforth sdb.fs
Line 1,143 ⟶ 1,145:
+: theea 1979.04.05;coworker;astronomy;
$
</pre>
Code:
<lang forth>\ sdb.fs Simple database. Gforth 0.7.0 specific
' noop is bootmessage
|