beautypg.com

Showmenu sin sub, Showmenu – Ocean Optics Jaz Scripting Language and Scripting Engine User Manual

Page 46

background image

6: Functions Reference

38

013-RD000-000-12- 201010

ShowMenu

Syntax: ShowMenu(s1{,s2,s3,s4})

Where:

s = a string or a text variable.

s2 through s4 are optional and may be omitted for a 1 line menu.

Each string constitutes a line on the display and is associated automatically with the
navigation buttons on the Jaz unit.

Arguments

Name

Type

Special Considerations

s1

TEXT

Mandatory field

s2 ... s4

TEXT

Optional arguments

Intent:

To display user input prompts on the Jaz screen.

OnButtonClick

function is usually used with this

function to retrieve the user's selection.

SIN

Syntax: Sin(A,B)
Arguments

Name

Type

Special Considerations

A

INT_16 or REAL variable or literal

B

REAL variable

B = sin(A)

Sub

Syntax:

Sub(A,B,C)