InActionMan64 Posted May 29, 2022 Author Share Posted May 29, 2022 Huh? :laugh: Link to comment Share on other sites More sharing options...
InActionMan64 Posted June 3, 2022 Author Share 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? Link to comment Share on other sites More sharing options...
Mktavish Posted June 4, 2022 Share 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 Link to comment Share on other sites More sharing options...
InActionMan64 Posted June 4, 2022 Author Share 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 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 ? Link to comment Share on other sites More sharing options...
Mktavish Posted June 5, 2022 Share 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: Link to comment Share on other sites More sharing options...
InActionMan64 Posted June 5, 2022 Author Share 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: 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. Link to comment Share on other sites More sharing options...
Mktavish Posted June 5, 2022 Share 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: 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: Link to comment Share on other sites More sharing options...
Recommended Posts