Howto:Start using vectors and hashes in Nasal: Difference between revisions
Jump to navigation
Jump to search
← Older edit
Newer edit →
Howto:Start using vectors and hashes in Nasal
(view source)
Revision as of 00:17, 8 February 2012
44 bytes removed
,
8 February 2012
m
→A hash based version (recommended)
:
:-)
Revision as of 00:16, 8 February 2012
(
view source
)
Hooray
(
talk
|
contribs
)
m
(
→A hash based version (recommended)
)
← Older edit
Revision as of 00:17, 8 February 2012
(
view source
)
Hooray
(
talk
|
contribs
)
m
(
→A hash based version (recommended)
:
:-)
)
Newer edit →
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
};
}
}
Hooray
Administrators
20,741
edits
Navigation menu
Personal tools
English
Create account
Log in
Namespaces
Howto
Discussion
English
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Village pump
Help
Portals
User
Developer
Wiki
FlightGear
Website
Forum
Mailing lists
Bug tracker
Source
Scenery
Liveries
Build server
Tools
Upload file
Special pages
Printable version