HP Forums
Pocket computers/calculators with Fortran? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: Pocket computers/calculators with Fortran? (/thread-16037.html)



Pocket computers/calculators with Fortran? - Dave Britten - 12-11-2020 01:15 AM

I just received a copy of Combinatorial Algorithms for Computers and Calculators, and all the routines contained within are written in Fortran. This got me wondering: are there any pocket computers or handhelds that came equipped with Fortran in lieu of or in addition to BASIC? Or any that could have it added? I'm sure it wouldn't be hard to find an MS-DOS Fortran that works on the palmtops, for example.

There are a couple of Sharp and Casio calculators that have something called Mini Fortran, but from what I can tell, it's vastly simplified to the point that calling it Fortran isn't all that accurate.


RE: Pocket computers/calculators with Fortran? - StephenG1CMZ - 12-11-2020 05:30 AM

Wikipedia seems to suggest that using gcc on a computer can generate Fortran 77 for some calculators, if that helps.
https://en.m.wikipedia.org/wiki/Programmable_calculator


RE: Pocket computers/calculators with Fortran? - badaze - 12-14-2020 10:10 PM

Casio FX 201 P uses a fortran like programming language. Its program model is ... strange.

0 = 1 Means : put value of register 1 in register 0.
0 = 1 + K1.5 Means put value of register 1 + 1.5 in register 0. K stands for Konstant.


RE: Pocket computers/calculators with Fortran? - Dave Britten - 12-14-2020 10:17 PM

(12-14-2020 10:10 PM)badaze Wrote:  Casio FX 201 P uses a fortran like programming language. Its program model is ... strange.

0 = 1 Means : put value of register 1 in register 0.
0 = 1 + K1.5 Means put value of register 1 + 1.5 in register 0. K stands for Konstant.

Yeah, like the early Sharp models, it seems like a pretty big stretch to call that Fortran! Wouldn't mind getting ahold of one of them, though.


RE: Pocket computers/calculators with Fortran? - KeithB - 12-14-2020 10:26 PM

Maybe they figger FORmula TRANslation is generic.


RE: Pocket computers/calculators with Fortran? - badaze - 12-14-2020 10:54 PM

(12-14-2020 10:17 PM)Dave Britten Wrote:  
(12-14-2020 10:10 PM)badaze Wrote:  Casio FX 201 P uses a fortran like programming language. Its program model is ... strange.

0 = 1 Means : put value of register 1 in register 0.
0 = 1 + K1.5 Means put value of register 1 + 1.5 in register 0. K stands for Konstant.

Yeah, like the early Sharp models, it seems like a pretty big stretch to call that Fortran! Wouldn't mind getting ahold of one of them, though.

Tests are ternary. I should find my 201P to give an example.