Jump to content

Recommended Posts

Posted (edited)

I can't seem to find how to do this in Lua, but it must be possible because it is the most basic of programming functions.

I seem to remember:

Begin
Var A = "Hello"
Var B = " World"
Var C = A + B
WriteLn C
End

As being the first ever program I wrote!

 

Edited by simonjackson1964
Posted

Thanks, Andy.

This works:

$("Events").variables["TimeS"] = tostring(time)

$("Events").variables["List Name"] = "List " .. $("Events").variables["TimeS"]

Giving me the name of a list variable that is to be actioned at a given time!

Now for the next bit!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...