HP 9800 Series Desktop Computers - HPL Description

HPL Description

In HPL instead of variables such as A1 and J2, there were numbered registers r1, r2, up to r199999. This HPL program for the HP 9825 generates a list of prime numbers:

0: fxd 0 1: prt 1 2: prt 2 3: 1→P 4: for C=2 to 1000000 5: P+2→P 6: for N=3 to P/3 7: if int(P/N)*N = P; gto 4 8: next N 9: prt P 10: next C

Another unique characteristic of HPL was the right arrow (shown with ASCII characters as ->, however it was a single character). This arrow was known as the gazinta (slang for "goes into"). The statement 1→P would be pronounced "One gazinta P".

Read more about this topic:  HP 9800 Series Desktop Computers

Famous quotes containing the word description:

    I fancy it must be the quantity of animal food eaten by the English which renders their character insusceptible of civilisation. I suspect it is in their kitchens and not in their churches that their reformation must be worked, and that Missionaries of that description from [France] would avail more than those who should endeavor to tame them by precepts of religion or philosophy.
    Thomas Jefferson (1743–1826)