官术网_书友最值得收藏!

  • Lua Quick Start Guide
  • Gabor Szauer
  • 119字
  • 2021-08-05 10:30:35

Variables

Variables are labels that provide a descriptive name for some data that a program can read or modify. You can literally think of a variable as a label.

For example, let's assume there are a number of jars containing different colored jam. How do you know what flavor a specific jar contains? Hopefully, there is a label on the jar that is descriptive of its content.

The labels on the jar can change over time. For example, a jar might contain strawberry jam, but after that's gone it might be filled with peach jam. When the contents of the jar changes, a different label can be used to describe what's in it. Variables work in a similar fashion.

主站蜘蛛池模板: 马山县| 银川市| 洛宁县| 邯郸县| 中方县| 麟游县| 陇南市| 镶黄旗| 白银市| 任丘市| 锡林郭勒盟| 兴安县| 东明县| 浦城县| 女性| 石泉县| 周口市| 鸡东县| 大方县| 吉林省| 荔波县| 高密市| 乌鲁木齐市| 民权县| 高邑县| 栖霞市| 乌什县| 万全县| 广丰县| 合山市| 宁陕县| 新干县| 鹤山市| 华阴市| 论坛| 武清区| 上饶市| 富阳市| 石城县| 卢龙县| 靖远县|