Apr-27-2017, 06:05 PM
One of my favorite, was Forth. It was an excellent language for instrumentation,
we built several spectrometers using Forth. It's demise I believe had to do with
the 'expandable compiler' which, used without discipline made too many versions
of the language, and the fact that it was hard to read if you had no experience
example:
we built several spectrometers using Forth. It's demise I believe had to do with
the 'expandable compiler' which, used without discipline made too many versions
of the language, and the fact that it was hard to read if you had no experience
example:
: -FITS? linecount @ + RMARGIN > ; : SPACE' linecount @ IF SPACE 1 linecount +! THEN ; : CR' CR 0 linecount ! ; : .WORD ( addr1 #chars1 -- addr2 #chars2 ) BL Split-At-Char DUP 1+ ( space!) -FITS? IF CR' THEN SPACE' TYPE' ;Which makes perfect sense if you owned an HP calculator.