? Is it possible to assign a variable to the value of another variable? (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Is it possible to assign a variable to the value of another variable?

  • #1 ✎ 24 Crazyblob Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Video Games I like to play video games! Hobbies Minecraft Is Awesome! I love Minecraft! Express Yourself I want to make code where the user can change the value of a variable to a certain value, from another variable. I will try doing this by Variable=0 Input "put what you want here";value Variable=;value But I get a syntax error when I try to do this.. is it possible? Posted Edited by Crazyblob
  • #2 ✎ 1550 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website You don't need the semicolon; that's just part of the INPUT command. Posted
  • #3 ✎ 24 Crazyblob Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Video Games I like to play video games! Hobbies Minecraft Is Awesome! I love Minecraft! Express Yourself Ohhhh, thank you Posted