1
0
Fork 0

Fix case errors and Vector.nas

Fix from Julio SANTA CRUZ
This commit is contained in:
Stuart Buchanan 2020-07-11 22:11:39 +01:00
parent 3f5f1a2570
commit 96ea977af5
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,7 @@ var include_path = "Nasal/std/";
var files = [
"hash",
"string",
"vector",
"Vector",
];
foreach (var file; files) {

View file

@ -21,6 +21,8 @@
if (ishash(globals["std"]) and ishash(std["Vector"]))
return;
var min = func(a, b) { a < b ? a : b }
var max = func(a, b) { a > b ? a : b }
var Vector = {
new: func (vector=nil, name="") {