Macros

Macros

How can you define custom macros or even define reusable LiaScript libraries?

  • Just use @ followed by a custom name for your macro
  • You can add parameters
  • Shortcut macros, that call others predefined parameters
  • And block-macros

not that difficult

You can use this this example as a basis for your own course by following this link

… Or experiment with it in the LiveEditor below:

Related Posts

C-Programming

This LiaScript book is based on the free Wikibook on C-Programming.

Read More

How to activate Tooltips in LiaScript

LiaScript has a new tooltip feature, which was inspired by the Wikipedia tooltips, which provide more information about a certain topic if you hover a link with the mouse.

Read More

LiaScript - WorldMap

This idea was motivated by the OER-World Map in order to to visualize the distribution of educational content that was created with LiaScript or events and meetings.

Read More