diff --git a/vala.html.markdown b/vala.html.markdown old mode 100644 new mode 100755 index 9a5215bb..b6cbeb98 --- a/vala.html.markdown +++ b/vala.html.markdown @@ -21,5 +21,31 @@ Comment */ * Documentation comment */ +/* +Data Types +*/ -``` \ No newline at end of file +// Vala supports the data types supported by most other programming languages. + +char character = 'a' +unichar unicode_character = 'u' // 32-bit unicode character + +int i; // ints can also have guaranteed sizes (e.g. int64, uint64) +uint j; + +long k; + +short l; +ushort m; + + + +/* +Basic Syntax +*/ + +// Like in C#, scope is defined using braces. +// An object or reference is only valid between braces. + + +```