Talk:FOCAL (programming language)

Gosh, that takes me back! I first used FOCAL on a PDP8-L in 1969 mumble mumble ... Anyway, the TYPE command always preceded numeric output with = on that implementation. Richard Pinch 06:57, 26 August 2006 (UTC)[reply]

It's probably worth mentioning FOCAL's slightly odd subroutine mechanism. DO xx.yy executed line xx.yy and DO xx executed all lines in block xx. The return was simply to finish the line or block, and there was no parameter passing mechanism. Richard Pinch 06:57, 26 August 2006 (UTC)[reply]

FOCAL comes from JOSS, both of which bear resemblance to the POSIX/UNIX BC language. C-BC, which you can find on GitHub, is a large superset of BC language made like C, that also supersets most of GNU BC, and happens to also be a near-superset of FOCAL - enough so, for instance, to be able to almost verbatim port the FOCAL implementation of the Lunar Lander TTY-based game, which is included in the C-BC repository. An implementation of FOCAL, itself, may go up alongside it, soon. — Preceding unsigned comment added by 65.29.226.169 (talk) 09:09, 13 December 2022 (UTC)[reply]

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne