InActionMan64 Posted June 3, 2022 Author Posted June 3, 2022 I'm building a String for a MessageBox and want to have a carriage return for a new line, Let StringVariable := "This is the first line" + ???? + "This is the Second Line" Any thoughts?
Mktavish Posted June 4, 2022 Posted June 4, 2022 https://geckwiki.com/index.php?title=GetRandomInRangeInt iRandBegin (SomeThing) Set iRand to GetRandomInRange 1 4 If iRand == 1 ;Do thiselseif iRand == 2 ;Do thatelseif iRand == 3 ;Do the other endifEND ~~~~~~~~~~~~~~~~~~ But seriously .... I don't know that array gettin jiggy with it modus operandi
InActionMan64 Posted June 4, 2022 Author Posted June 4, 2022 On 6/4/2022 at 12:43 AM, Mktavish said: https://geckwiki.com/index.php?title=GetRandomInRangeInt iRandBegin (SomeThing) Set iRand to GetRandomInRange 1 4 If iRand == 1 ;Do thiselseif iRand == 2 ;Do thatelseif iRand == 3 ;Do the other endifEND ~~~~~~~~~~~~~~~~~~ But seriously .... I don't know that array gettin jiggy with it modus operandi Nope, I literarily mean I can't figure out how to make a string that can be presented in a MessageBoxEx as a list. dstring := String1 + String2 + String3 Messageboxex dstring String1String2String3 Can figure out the carriage return ?
Mktavish Posted June 5, 2022 Posted June 5, 2022 I don't think " + " is supposed to be used like that ? Did you see this version https://geckwiki.com/index.php?title=MessageBoxExAlt So you use " | " But keep them inside of one set of quotes . IDK just guessing :confused:
InActionMan64 Posted June 5, 2022 Author Posted June 5, 2022 On 6/5/2022 at 11:22 AM, Mktavish said: I don't think " + " is supposed to be used like that ? Did you see this version https://geckwiki.com/index.php?title=MessageBoxExAlt So you use " | " But keep them inside of one set of quotes . IDK just guessing :confused: Nice idea but nope, I'm already using that as an alternative, I was gonna have a multi-line report but instead went with a menu that includes the same data.
Mktavish Posted June 5, 2022 Posted June 5, 2022 On 6/5/2022 at 5:17 PM, InActionMan64 said: On 6/5/2022 at 11:22 AM, Mktavish said: I don't think " + " is supposed to be used like that ? Did you see this version https://geckwiki.com/index.php?title=MessageBoxExAlt So you use " | " But keep them inside of one set of quotes . IDK just guessing :confused: Nice idea but nope, I'm already using that as an alternative, I was gonna have a multi-line report but instead went with a menu that includes the same data. Well I'm glad somebody in this thread knows what's going on with string variables :pirate:
Recommended Posts