ericnail Posted September 14, 2010 Share Posted September 14, 2010 (edited) How do I return a line in the script it's self.I know you can use @CRLF to make a line in the Script output, but having long lines and having to scroll right/left can be a pain.I seem to remember it was something like "_&" or something, But I couldn't find the answer on the build in "F1" help, or the online wiki about it.Thanks,Eric Edited September 14, 2010 by ericnail Link to comment Share on other sites More sharing options...
UnDeFiNeD Posted September 14, 2010 Share Posted September 14, 2010 You can try the concatenation assignment, &= $var = "This would be a very long line..." & @CRLF & "This would be a very long line..." & @CRLF $var &= "This would be a very long line..." & @CRLF & "This would be a very long line..." & @CRLF $var &= "This would be a very long line..." & @CRLF & "This would be a very long line..." & @CRLF $var &= "This would be a very long line..." & @CRLF & "This would be a very long line..." & @CRLF Link to comment Share on other sites More sharing options...
Realm Posted September 14, 2010 Share Posted September 14, 2010 (edited) Try this MsgBox(0,"A Very Long line","A Very Long line, A Very Long line, A Very Long line, " _ &"A Very Long line, A Very Long line, A Very Long line, A Very Long line, A Very Long line, " _ &"A Very Long line, A Very Long line, A Very Long line, A Very Long line, A Very Long line") using a underscore '_' will inform the interpreter to combine the next line with the previous line as one. Make sure to also use an ampersand '&' on the next line. Edited September 14, 2010 by Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
ericnail Posted September 14, 2010 Author Share Posted September 14, 2010 Try this MsgBox(0,"A Very Long line","A Very Long line, A Very Long line, A Very Long line, " _ &"A Very Long line, A Very Long line, A Very Long line, A Very Long line, A Very Long line, " _ &"A Very Long line, A Very Long line, A Very Long line, A Very Long line, A Very Long line") using a underscore '_' will inform the interpreter to combine the next line with the previous line as one. Make sure to also use an ampersand '&' on the next line. Ahhh that's it! Thanks! Link to comment Share on other sites More sharing options...
Realm Posted September 15, 2010 Share Posted September 15, 2010 Ahhh that's it!Thanks!My Pleasure, I had the time My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment 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