From ca5d90eb7d44439e40c4937dd5b4f55cd2994a74 Mon Sep 17 00:00:00 2001 From: Milo Gilad Date: Thu, 24 Aug 2017 15:54:48 -0400 Subject: Finished basic datatypes and basic io --- vala.html.markdown | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) mode change 100644 => 100755 vala.html.markdown (limited to 'vala.html.markdown') 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 +*/ + +// 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. + -``` \ No newline at end of file +``` -- cgit v1.2.3