Jump to content
  • 0

How to type "{" "}"


Vinshuka
 Share

Question

Hello, I am so sorry about this silly question but I am new to all of this, I am trying out some Basic code examples from a tutorial and I cannot for the life of me figure out how to type curly braces, the line I am trying to type is:

20 PRINT "{CLR/HOME}"

I am using this tutorial: https://twobithistory.org/2018/09/02/learning-basic.html. Thank you for your help.

Edit: Hello again, never mind, I was told I can just use ISO mode, problem solved!

Edited by Vinshuka
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Super Administrators

Careful on that one... {CLR/HOME} should never be written like that. That key has two purposes: Clear and Home. The written instruction should be {CLR} or {HOME}, not {CLR/HOME}. 

So you'll need to look at what the program is doing and make sure you're using the correct command. "HOME" will just move the cursor to the top-left corner of the screen, and "CLR" will clear the screen. 

The "Home" command will show as an inverted "S" in quotes. The "Clear" command will show as the heart that @desertfish linked to. 

In this case, the author means for you to clear the screen. So it should be written as {CLR} or {SHIFT CLR/HOME}.

For reference, here are the token codes the community generally uses:

https://github.com/thezerobit/tok64  (look down at the bottom of the Readme).

Edited by TomXP411
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

Please review our Terms of Use