Nasal scripting language: Difference between revisions

Jump to navigation Jump to search
m
Line 903: Line 903:
  ( a and do_something() ) or print("failed");
  ( a and do_something() ) or print("failed");
</syntaxhighlight>
</syntaxhighlight>
== Using Hashs to map keys to functions ==


You can easily reduce the complexity of huge conditional (IF) statements, such as this one:
You can easily reduce the complexity of huge conditional (IF) statements, such as this one:

Navigation menu