Page 1 of 1

Console/alert feedback

Posted: Mon Aug 31, 2015 10:47 pm
by ernpchan
I'm trying to get into ASP scripting and unfortunately I'm not familiar with lua. I've got experience with AE's javascript and lscript/python in LightWave.

What's the equivalent of printing or alerting back information for ASP so I can see what variables are doing?

Thanks.

[edit]

It's basically a print statement.

Code: Select all

print (string)
And I found the console window, it's under Window>Lua Console.

Duh.

Re: Console/alert feedback

Posted: Tue Sep 01, 2015 1:19 am
by synthsin75
local var = "string"
print(var)
print("string")


Check out how some of the script writing menu scripts work...or any tool for that matter.

Re: Console/alert feedback

Posted: Tue Sep 01, 2015 1:29 am
by hayasidist
and just in case you haven't found them ...

LUA docs are here: http://www.lua.org/manual/5.2/
and scripting info is here (as well as elsewhere): http://ASLua.com/ (see also viewtopic.php?f=12&t=28021)

==
Also:
print ("string1" .. "string2") concatenates

local i = 6
-- the following work as expected
print (i)
print ("string", i)