Skip to main content
guest
Join | Help | Sign In
Liberty BASIC Programmer's Encyc Home
guest| Join | Help | Sign In
Liberty BASIC Programmer's Encyc
  • Wiki Home
  • Recent Changes
  • Pages and Files
  • Members

Home

General Tutorials
Advanced Tutorials
GUI Programming
Graphics and Games
Strings and Text
Numbers and Math
Using Files
Windows API
Communications
Programmer's Tools

Articles by Date
FAQs
Rosetta Code
General Articles
Newsletters Contents

Table of Contents
Demos

Submit Articles
TOS and License

0304

Edit 1 …
  • 1 Tags
    • tutorials
  • Notify
  • RSS
  • Backlinks
  • Source
  • Print
  • Export (PDF)
Older Version Newer Version

Alyce Alyce Nov 4, 2006

Lesson Map | Next > Print Text and Variables

Define Variables

Liberty BASIC has two kinds of variables. One kind of variable is for numbers, while the other is for strings of text. String variable names that contain text always end with a dollar sign ' $ '. Variable names that do not end in a dollar sign contain numbers.

 input "What is your name? "; name$ 
print name$

That echo, just printing the variable, seems a little abrupt. Maybe we can soften it up, and make it more user-friendly.

Lesson Map | Next > Print Text and Variables
Help · About · Pricing · Privacy · Terms · Support · Upgrade
Contributions to https://lbpe.wikispaces.com/ are licensed under a Custom License.
Portions not contributed by visitors are Copyright 2018 Tangient LLC
TES: The largest network of teachers in the world
Turn off "Getting Started"
  1. Home
  2. ...
Loading...