• Peter Horvath@mastodon.de
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    @davidgro @hunger Last basic variant I worked with was the basic of the commodore machines. It had no NULL. I have also seen vbscript a little, afaik also it had not.

    In Java, null does not mean a real 0 value, I think it is more like a static const, more similar to the None type of the Python. Its name is only a helper for the C/C++ guys to better understand a stack trace.

    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      Ah, yeah looks like address 0 is nothing special on C64. I was thinking more about things like Qbasic and especially Visual Basic where dereferencing address 0 expecting a string or object is easy enough to do.