Hacker News new | past | comments | ask | show | jobs | submit login

BBC BASIC from Acorn in 1982 supported integers and reals. From page 65 of the user guide [https://www.stardot.org.uk/forums/download/file.php?id=91666]

    Three main types of variables are supported in this version of
    basic: they are integer, real and string.

                     integer       real        string
    example          346           9.847       “HELLO”
    typical variable A%            A           A$
    names            SIZE%         SIZE        SIZE$
    maximum size     2,147,483,647 1.7¥1038    255 characters
    accuracy         1 digit       9 sig figs  —
    stored in        32 bits       40 bits     ASCII values
A%, A, and A$ are 3 different variables of different types.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: