Jump to content

Higher-order functions: Difference between revisions

No edit summary
Line 340:
var result = first(second);
result = first(function() { return "third"; });
 
==[[MAXScript]]==
[[Category:MAXScript]]
fn second =
(
print "Second"
)
fn first func =
(
func()
)
first second
 
==[[Pascal]]==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.