Lua String Library Errors

Check the Known Bugs topic before reporting a bug!

Lua String Library Errors

Postby _BlackDog_ » 12 Sep 2015, 05:47

PC/Android Version
1.5.1
Principia can't use % options in string library.
Example:
string.format("%q", quote)
Could set quote in quotes, so could return
"quote"
BUT
Error: Attempt to index global string(a nil value)
You can think that problem in function, but
string.format("\s", quote)
just writes
Error: Invalid escape sequence near \s
BUT NOT
Error: Attempt to index global string(a nil value)

% options very important so please fix it.
_BlackDog_
 
Posts: 5
Joined: 06 Jul 2015, 14:50

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron