User Tools

Site Tools


fb_controls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
fb_controls [2022/12/03 23:39] praetorfb_controls [2022/12/04 01:26] praetor
Line 62: Line 62:
  
 <code freebasic> <code freebasic>
-input "What if your name? ",myName+input "What is your name? ",myName
 </code> </code>
 //input// is a new keyword that asks the user for input and stores it in a variable, myName in this case. //input// is a new keyword that asks the user for input and stores it in a variable, myName in this case.
Line 70: Line 70:
   print "Ave Praetor!"   print "Ave Praetor!"
 </code> </code>
-**if** myName is "Praetor" then, perform some function. In this case, print "Ave Praetor" to the screen+**if** myName is "Praetor" **then**, perform some function. In this case, print "Ave Praetor" to the screen
  
 <code freebasic> <code freebasic>
fb_controls.txt · Last modified: 2022/12/04 01:27 by praetor