This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorial:variableandconstant [2018/12/26 13:09] admin |
tutorial:variableandconstant [2019/01/04 16:06] (current) admin [การประกาศ Variables/Constants] |
||
---|---|---|---|
Line 15: | Line 15: | ||
var a:byte; | var a:byte; | ||
b:integer; | b:integer; | ||
- | c:real; | + | c:real; |
d:double; | d:double; | ||
e:boolean; | e:boolean; | ||
- | f:char; | + | f:char = 'A'; //Initial Value |
- | g:string; | + | g:string = 'Hello'; //Initial Value |
- | + | ||
begin | begin | ||
// Assign value: | // Assign value: |