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:

    Once a child has demonstrated his capacity for independent functioning in any area, his lapses into dependent behavior, even though temporary, make the mother feel that she is being taken advantage of....What only yesterday was a description of the child’s stage in life has become an indictment, a judgment.
    Elaine Heffner (20th century)