A variable holds a value that you can use and change throughout your code so long as the variable is within scope. With variable declaration, you not only want to know the syntax of how you declare a variable but you also want to know where. Are you allowed to declare a variable inline? What are the available scopes: local vs. global. Can you assign a value at the same time you declare a variable?
Delphi Prism Variables
Prism supports type inference where you just use a variable and the compiler will then choose the lowest type possible (such as an Integer before a LongInt). With Prism, you frequently do not have to use commands to convert from one type to another.
Variable names are not case sensitive. The Prism language offers both old-style declaring variables before the begin as well as in-line variable declaration.
Prism does support variable initialization too.
Prism offers many variable types. Some common variable types include Integer, LongInt, Single, Double, Boolean, and String.