Formulating On-Line Calculations in Algebraic Language, aka Formulating On-Line Calculations in Algebraic Language, is a historical programming language created in 1968. FOCAL is an interpreted programming language resembling JOSS. The name is an acronym for Formulating On-Line Calculations in Algebraic Language. Largely the creation of Richard Merrill, FOCAL was initially written for and had its largest impact on the Digital Equipment Corporation's (DEC's) PDP-8 computers. Read more on Wikipedia...

51Years Old 20Users 0Jobs

Example code from Wikipedia:

FOCAL15 V6B
*01.10 ASK "IN WHAT YEAR WERE YOU BORN?", YEAR
*01.20 SET YEAROFFOCAL=YEAR-1969+1
*01.30 IF (YEAROFFOCAL) 02.10,02.10,01.40
*01.40 TYPE "YOU WERE BORN IN THE YEAR ",YEAROFFOCAL," OF FOCAL!",!
*01.50 GOTO 01.10
*02.10 TYPE "YOU ARE TOO OLD FOR FOCAL, POPS",!
*02.20 GOTO 01.10
*GO
IN WHAT YEAR WERE YOU BORN?:1969
YOU WERE BORN IN THE YEAR     1.0000 OF FOCAL
IN WHAT YEAR WERE YOU BORN?:1950
YOU ARE TOO OLD FOR FOCAL, POPS
IN WHAT YEAR WERE YOU BORN?:

Last updated December 4th, 2019

Edit Formulating On-Line Calculations in Algebraic Language