beautypg.com

Turning Technologies ExamView User Manual

Page 126

background image

ExamView Test Generator

126

Syntax

Description

string symbol(string x)

Converts the string argument, x, to the appropriate Symbol character.

NOTE

Once the variable is inserted into a question or narrative, you need to highlight the variable and change
it to Symbol font for it to display properly.

The following list shows valid arguments to this function. For all other Symbol characters, use the chr function.

symbol ("<=")

will return "≤"

symbol (">=")

will return "≥"

symbol ("<>")

will return "≠"

symbol ("x")

will return "×"

symbol (".")

will return "▪"

symbol ("/")

will return "٪"

double tan(double x)

Computes the tangent of the argument, x. The angle is specified in radians.

double tanh(double x)

Computes the hyperbolic tangent of the argument, x. This evaluates to sinh(x) / cosh(x).

testversion

[pseudo constant] Represents the current test version ("A", "B", "C", etc.).

string trim(string x)

Trims spaces from both the left and the right side of the string argument, x.

EXAMPLE

trim(" ExamView ")

will return "ExamView"

TRUE

[Constant] 1.

string ucase(string x)

Converts the string argument, x, to upper case.

EXAMPLE

ucase("ExamView")

will return "EXAMVIEW"

turningtechnologies.com/user-guides