Turning Technologies ExamView User Manual

Page 117

Advertising
background image

ExamView Test Generator

117

Syntax

Description

int isunique(expression

arg1, expression arg2,

...)

Compares the arguments to see if there are any duplicates. If there are duplicate arguments, the function will return FALSE (0),
otherwise it returns TRUE (1). All of the arguments must be of the same type (string or numeric). This function is useful as a
"condition" in evaluating multiple choice answer choices.

EXAMPLE

(condition) isunique(answerA, answerB, answerC, answerD)

string lcase(string x)

Converts the string argument, x, to lower case.

EXAMPLE

lcase("ExamView")

will return "examview"

int lcd(int x, int y)

Returns the least common denominator of the arguments, x and y.

string left(string x,

int y)

Returns the first y characters of the string argument, x.

EXAMPLE

left("ExamView", 3) will return "Exa"

int len(string x)

Returns the number of characters in the string argument, x, not counting the null-terminating character.

turningtechnologies.com/user-guides

Advertising