cvec← ##.dice ?6 6                          ⍝ Interpret a throw of dice.

An illustration of the versatility of the guard construct.

Example:

      dice?6 6
Seven

Back to: contents

Back to: Workspaces