Howto:Start using vectors and hashes in Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 440: Line 440:
<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
var new = func {
var new = func {
var t=[];
  return {parents:arg};
foreach(var a; args) append(t,a);
  return {parents:t};
}
}


Navigation menu