PtokaX forum

PtokaX => FAQ section => Topic started by: NemeziS on 09 March, 2005, 02:03:45

Title: Base differences lua4 and lua5
Post by: NemeziS 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
Title:
Post by: NemeziS on 09 March, 2005, 12:41:30
Can somebody help me?  8)
Title:
Post by: Pothead 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. :)
Title:
Post by: Skrollster on 09 March, 2005, 14:52:37
QuoteOriginally posted by NemeziS
Can somebody help me?  8)

have you thought of checking the official lua page??

//www.lua.org

everything that you wants to know is there..