Turning-technologies ExamView User Manual Page 118

  • Download
  • Add to my manuals
  • Print
  • Page
    / 190
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 117
ExamView Test Generator 118
Syntax Description
list(expression arg1,
expression arg2, ...)
Use this function as a container to hold a group of similar expressions. The expressions must all be of the same type--either
numeric or string. If you create a list of strings, you must make sure that no string element contains a comma, since the comma is
used to delimit the list. A variable defined as a "list" can be used as an argument for the "choose" function.
EXAMPLE
fruitList = list("apple", "pear", "peach", "tangerine")
whichFruit = rand(4)
fruit = choose(whichFruit, fruitList)
weightList = list(110, 142, 153, 180, 212)
whichWeight = rand(5)
weight = choose(whichWeight, weightList)
double ln(double x)
Calculates the natural log of the argument, x. Arguments to the function must be greater than zero.
double log(double x)
Calculates the natural log of the argument, x. Arguments to the function must be greater than zero.
double log10(double x)
Calculates the base 10 logarithm of the argument, x. Arguments to the function must be greater than or equal to zero.
double logb(double x,
double b)
Calculates the base b logarithm of the argument, x. Arguments to the function must be greater than zero. Actual function is:
string ltrim(string x)
Trims spaces from the left side of the string argument, x.
EXAMPLE
ltrim(" ExamView ") will return "ExamView "
turningtechnologies.com/user-guides
Page view 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 189 190

Comments to this Manuals

No comments