iWitch Posted February 26, 2014 Share Posted February 26, 2014 (edited) Have LUA something similar to PHP's :$s = <<<LetterEndThis is the 1st line of string.This is the 2nd line of string.This is the 3th line of string.LetterEnd; when the variable equals a block of text without interpretation Edited February 26, 2014 by iWitch Link to comment https://forums.kleientertainment.com/forums/topic/31835-small-question-about-lua-and-text-blocks/ Share on other sites More sharing options...
Some1 Posted March 1, 2014 Share Posted March 1, 2014 Yes, in lua you could use [[ and ]] to define text variables without interpretation: local s=[[some text:Line one"Line two"'Line three'--comment would be part of the text tooLast line]] Link to comment https://forums.kleientertainment.com/forums/topic/31835-small-question-about-lua-and-text-blocks/#findComment-421692 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now