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:

    The type of fig leaf which each culture employs to cover its social taboos offers a twofold description of its morality. It reveals that certain unacknowledged behavior exists and it suggests the form that such behavior takes.
    Freda Adler (b. 1934)