summaryrefslogtreecommitdiffhomepage
path: root/vala.html.markdown
diff options
context:
space:
mode:
authorMilo Gilad <milogaccnts@gmail.com>2017-08-24 15:54:48 -0400
committerMilo Gilad <milogaccnts@gmail.com>2017-08-24 15:54:48 -0400
commitca5d90eb7d44439e40c4937dd5b4f55cd2994a74 (patch)
tree33a3e07c6f37b27aef65b3911edba15673087657 /vala.html.markdown
parente8897e60e00425e59d705a320bac51dc561443aa (diff)
Finished basic datatypes and basic io
Diffstat (limited to 'vala.html.markdown')
-rwxr-xr-x[-rw-r--r--]vala.html.markdown28
1 files changed, 27 insertions, 1 deletions
diff --git a/vala.html.markdown b/vala.html.markdown
index 9a5215bb..b6cbeb98 100644..100755
--- 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
+```