Re: update panel on dump request using Lua

Home Forums General Programming update panel on dump request using Lua Re: update panel on dump request using Lua

#2944
atom
Keymaster
  • Topics: 159
  • Replies: 2945
  • Total: 3104
  • ★★★★★

console() takes a string argument, if you want to print out formatted data use
[code:25vr8h2b]
console (string.format ("this is a string: %s this is a number: %d", string, number))
[/code:25vr8h2b]

or you can try

[code:25vr8h2b]
console ("this is a number: "..number)
[/code:25vr8h2b]

Ctrlr