Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Barnskis LUA plugin help

Author
Message
ConorH
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location:
Posted: 28th May 2006 21:31
Is there anyway for a key in a file to return more than one parameter

so reading this



would return me both values in separate variables
??

Or am I being tarded?

its my new rat tail dog!
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 4th Jun 2006 22:51 Edited at: 4th Jun 2006 22:53
You can use tables in your lua file. Tables are arrays with named index: tile = {nr=1, file="grass.bmp"}
then you can read them in in dbpro using:
nr = LUA INT ("tile.nr")
file$ = LUA STRING$ ("tile.file")

and then you make:
LoadTile nr, file$

Is this what you wanted? Otherwise please specify more exactly what you want...

edit;
Sorry for the late response, but I rarely check the dll talk forum. For questions please write directly in my lua thread... I will notice it better

ConorH
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location:
Posted: 7th Jun 2006 17:03
Yeah that's right.

Thanks.

(other half in the Lua Thread)

its my new rat tail dog!

Login to post a reply

Server time is: 2024-11-22 06:51:39
Your offset time is: 2024-11-22 06:51:39