|
#1
|
||||
|
||||
|
Is there any possiblity in the lua language to continue with the current statement into a new line (like _ in vba"
For example instead of sTemp = "Hello this will be a newline\nThis is the secondline"; to have something like sTemp = "Hello this will be a newline\n" _ "This is the secondline"; Thanks. |
|
#2
|
||||
|
||||
|
sTemp = [[Hello this will be a newline
This is the secondline]]; |
|
#3
|
||||
|
||||
|
Thank you very much.
Can the same format be used for breaking up apart a programming line like: a = 12 + SessionVar.Expand( "%myvar%") + g_expect; to a = [[ 12 + SessionVar.Expand( "%myvar%") + g_exptect ]] ? |
|
#4
|
||||
|
||||
|
No need:
a = 12 + SessionVar.Expand( "%myvar%") + g_exptect; Should work fine. |
|
#5
|
||||
|
||||
|
It's definitely valid in lua...whitespace is ignored within statements, just like in c++.
However, the action editor may not be so savvy...the syntax highlighting and autocomplete might have a bit of trouble interpreting the statements that way. It should still work fine, though, so don't let the "look" of the code in the editor fool you into thinking it's wrong.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#6
|
||||
|
||||
|
Thanks a lot guys
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| open email using multiple body lines | chad | Setup Factory 7.0 Discussion | 16 | 01-11-2005 09:23 AM |
| Multiple lines in tooltips | markstaylor | AutoPlay Media Studio 5.0 | 7 | 12-05-2004 12:41 PM |
| Playing Multiple Video Files in Sequence | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 09-26-2003 12:10 PM |
| HOWTO: Make an Install that Spans Multiple CD-ROMs | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-11-2002 04:36 PM |
| Default text in edit field - Multiple edit screen | Romahe | Setup Factory 6.0 | 1 | 12-18-2001 02:01 PM |
All times are GMT -6. The time now is 04:39 PM.






Linear Mode

