✅ String interpolation next line
So i tried \n but it just gives errors. Does anyone know how i can print the amount1 on the next line without writing 2 seperate console writelines??
13 Replies
How did you try
\n
exactly?
@EliWell idk i tried it in many ways
how would you suggest i use it?
Angius
REPL Result: Success
Console Output
Compile: 465.415ms | Execution: 33.523ms | React with ❌ to remove this embed.
Alternatively,
Im not that smart huh
alr thnx so much
This one worked perfectly i just assumed it would lituarily print \n but it doesnt
tysm
\n
is an escape character for "new line", that's what it inserts
Just like \t
does a tab, for exampleAngius
REPL Result: Success
Result: string
Compile: 134.384ms | Execution: 16.687ms | React with ❌ to remove this embed.
For future reference
Thnx pookie :D
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Use the /close command to mark a forum thread as answered
$close
Use the /close command to mark a forum thread as answered