News for hackers. Stuff that matters.
Re:30 years later, QBasic is still the best by pvg on Sunday May 27, 2018 @05:06PM (#17169108)
The original comment was a comparison of pointers in C and PEEKs and POKEs in BASIC. So making up stuff about how assembly has 'pointers' or trying to start some argument about C with a statement nobody made is not really much more directly related to what we're discussing than a comment about the music of the Pointer Sisters.
Re:30 years later, QBasic is still the best by pjmlp on Monday May 28, 2018 @03:17AM (#17171023)
So back to Basic then, this is Turbo Basic (1987)

    ' a = *addr
    a = PEEK (addr%)

    '  *addr = value
    POKE addr%, value

    'a = addr
    a = addr

    'addr++
    INCR addr%, 2

    'a = &variable
    DEF SEG = VARSEG(variable)
    a = VARPTR(varible)
    a = VARPTR$(varible)
Album, http://www.bitsavers.org/pdf/borland/Borland_Turbo_BASIC_Own...

Or to stay with QuickBasic dialects, Freebasic music tunes

https://www.freebasic.net/wiki/wikka.php?wakka=TblComparison...

Which also provides the SIZEOF chord, simplifying the increment operations of memory addresses.