Author Topic: Base differences lua4 and lua5  (Read 2146 times)

0 Members and 1 Guest are viewing this topic.

Offline NemeziS

  • Double Ace
  • *
  • Posts: 147
  • Karma: +0/-0
Base differences lua4 and lua5
« on: 09 March, 2005, 02:03:45 »
Hi, everybody!

I wanted to know all base differences between syntax of lua4 and lua5 to convert some of my scripts to lua5. (What functions I should replace with new ones to convert a script from lua4 to lua5)

Thanx a lot!  :)

Best regards,
NemeziS
--LUA forever! =)

PtokaX forum

Base differences lua4 and lua5
« on: 09 March, 2005, 02:03:45 »

Offline NemeziS

  • Double Ace
  • *
  • Posts: 147
  • Karma: +0/-0
(No subject)
« Reply #1 on: 09 March, 2005, 12:41:30 »
Can somebody help me?  8)
--LUA forever! =)

Offline Pothead

  • Lord
  • ***
  • Posts: 455
  • Karma: +25/-4
(No subject)
« Reply #2 on: 09 March, 2005, 13:31:58 »
Have a look at Plops converter.  It does most of the changes for you, so you can see what commands need changing to what. (I personally just use the error messages to find what is wrong).  The only ones it cannot do (which  i know of ) is IO stuff (input / output of files), and DataArrival has been split into many things.  Check the Scripting-Interface.txt file in PtokaX root. :)

Offline Skrollster

  • Lord
  • ***
  • Posts: 293
  • Karma: +3/-0
(No subject)
« Reply #3 on: 09 March, 2005, 14:52:37 »
Quote
Originally posted by NemeziS
Can somebody help me?  8)

have you thought of checking the official lua page??

http://www.lua.org

everything that you wants to know is there..

PtokaX forum

(No subject)
« Reply #3 on: 09 March, 2005, 14:52:37 »