A website for every gema-assaultcube fan
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 Combine multiline and singleline strings?

Go down 
AuthorMessage
UKnowMe?



Messages : 51
Joined/Date d'inscription : 2012-10-08
Location/Localisation : Germany

Gema stats
farthest jump:

PostSubject: Combine multiline and singleline strings?   Fri Jan 11, 2013 9:35 am

I was wondering if I can combine multiline-strings with "normal" strings in lua, e. g.
Code:
write([[some
weird
text ]] .. weird_var .. " some more text")
Back to top Go down
View user profile
Park

avatar

Messages : 271
Joined/Date d'inscription : 2011-11-04

Gema stats
farthest jump:

PostSubject: Re: Combine multiline and singleline strings?   Fri Jan 11, 2013 2:47 pm

sure
...
Back to top Go down
View user profile http://mgpmax.dyndns.org
Sveark

avatar

Messages : 124
Joined/Date d'inscription : 2011-05-02
Age : 25
Location/Localisation : Russia

PostSubject: Re: Combine multiline and singleline strings?   Sat Jan 12, 2013 12:31 am

Haha, of course you can do that
Back to top Go down
View user profile http://sveark.info/ac
Sponsored content




PostSubject: Re: Combine multiline and singleline strings?   

Back to top Go down
 
Combine multiline and singleline strings?
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
gema :: International :: Lua-
Jump to: