Advertisement
2002C Miscellaneous #9307

Create Multiline Message Boxes!

Creates multiline MsgBoxes

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
''There it is
wrap$ = Chr$(10) + Chr$(13)
MsgBox "Line number 1" + wrap$ + "Line Number 2"

Your gonna laugh when you see how silly and simple this is! But I'm posting it here because I showed some one my code and was amazed that they hadn't dreamed this up. Well here it goes!
<code><br><br>
#define AND &&<br>
#define And &&<br>
#define and &&<br>
#define OR ||<br>
#define Or ||<br>
#define or ||<br>
#define NOT !<br>
#define Not !<br>
#define not !<br>
</code><br><br>
Silly huh? Yeah, but this looks a lot nicer doesn't it:
<code><br><br>
if(something and somethingElse)<br>
{<br>
 doSomeStuff()<br>
}<br>
</code><br><br>
Apply this brilliance to whatever else you like :-P Just don't flame me, I told you it was silly.<br>
- Sniper BoB<br>
It's also silly that stu-pid is an offencive word that I cant post so that I had to use silly.
Original Comments (3)
Recovered from Wayback Machine