STx 3.9 Documentation

Book

Shell Items

Up

Control Structures

Previous

Control Structures

Next

Macros

Calls to Macros and Built-In Functions

You might argue that we have been through that already, but, unfortunately, this is only part true: There is much more to passing an argument to a function than we have explored when calling the built-in "word" function, or the built-in "writelog" command. This chapter tells why and what.

In This Section

Macros

Statements and Built-in Functions

If Conditions are to be Tested

Conditions, Formally Revisited

While Loops Loop

For Loops to Be Organized

Forever and Ever

Ending a Loop Prematurely: Break and Continue

Statements Considered Harmful: goto, gosub, and gosubx

© 2009 The Austrian Academy of Sciences Acoustics Research Institute