Renaming of samples from .wes to .chai

This commit is contained in:
Jonathan Turner
2009-06-12 01:29:11 +00:00
parent b96059cba8
commit 7e46064bdc
11 changed files with 0 additions and 0 deletions

16
samples/vector.chai Normal file
View File

@@ -0,0 +1,16 @@
var vec = Vector()
vec.push_back(5)
vec.push_back("Hello World")
vec.push_back(25.3)
var i = 0
var size = vec.size()
print("Vector Size: " + size.to_string());
while (i < size) {
print(i.to_string() + ": " + to_string(vec[i]))
i = i + 1
}