Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know, but there has to be a reason Gamemaker Language is so easy to pick up and play with. Imagine if C let you get away with murder and still compiled.


> Gamemaker Language

  var _xx = 100;
  mystruct =
  {
    a : 10,
    b : "Hello World",
    c : int64(5),
    d : _xx + 50,
    e : function(a, b)
        {
            return a + b;
        },
    f : [ 10, 20, 30, 40, 50 ],
    g : image_index
  };
It's been a long time since I've look at GML but it looks like it's turned into Javascript-lite. I do wish C had flexible array shorthand and something higher than function pointers to work with.




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

Search: