#1✎ 20SaladFingersAvatar EmbargoI didn't change my avatar for 90 daysWebsiteI'm trying to insert a print command into another program via a variable (it doesn't matter if this makes sense) and I'm wondering if there is a way to print a quotation. I know in Visual Basic you can just put a \ in and it'll ignore the quotation mark but is there a way in SB?
#2✎ 211LacksRNGHiddenEaster EggsDay PersonI like the warm sunshine and wake up early!Express YourselfReadingI like to read books!HobbiesYes, there is, in the keyboard menu.
Some of the vets know fancier methods tho.
#3✎ 110raimondzFirst WeekJoined in the very first week of SmileBASIC SourceWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthNight PersonI like the quiet night and sleep late.Express YourselfYes, there is a way. Just use CHR$ to get that character. See the code below:
? Q$+"HELLO WORLD"+Q$
#4✎ 106MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthDrawingI like to draw!HobbiesReadingI like to read books!HobbiesI have used this just because it doesn't require you to store the value in a variable:
It can be used like:
PRINT Q()+"HELLO WORLD"+Q()
#5✎ 125812Me21AdminSyntax HighlighterReceived for creating the code syntax highlighter on SBSSpeed test results (MS per 1,000,000): "”" 1878 (doesn't work as a " in code)
KEY(3) 2888 (don't use this lol)
FOR I=1 TO 1000000
S$="thing to test"*1
This isn't really important though, since even the slowest one only takes 0.000004 seconds (PRINT takes around 0.0004).
#6✎ 20SaladFingersAvatar EmbargoI didn't change my avatar for 90 daysWebsiteThanks so much every one, I just had created a variable to store my quotation, thanks for the help!