Results 1 to 3 of 3

Thread: Changes to existing LUA scripts

  1. #1
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default Changes to existing LUA scripts

    Now that we're on LUA 5 what are the changes that are required to existing scripts?

    Most of them should be fairly obvious e.g. strfind -> string.find etc.

    Anything else that might be tricky?

    Just wondering if it's worth writing a script that transforms a LUA 4 script into LUA 5. While I'm still developing LDJ for LUA4 I don't really want to maintain two different versions - that way madness lies.
    --Rob

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    The Girder functions are moving to 'gir.' too. Other than that I think most of the scripts should translate fine. But don't quote me on this.
    Ron
    No support through PM

  3. #3
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    That would be awesome, I could then keep all my old dirties!
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •