log()
Usage
log(number)
Description
Math function (Lingo only); calculates the natural logarithm of a specified number.
In JavaScript syntax, use the Math object's
Parameters
Required. A number from which the natural logarithm is calculated. This number must
number
be a decimal number greater than 0.
Example
This statement assigns the natural logarithm of 10.5 to the variable
Answer = log(10.5)
Example
This statement calculates the natural logarithm of the square root of the value
assigns the result to the variable
Answer = log(Number.sqrt)
makeList()
Usage
--Lingo syntax
parserObject.makeList()
// JavaScript syntax
parserObject.makeList();
Description
Function; returns a property list based on the XML document parsed using
or
.
parseURL()
Parameters
None.
Example
This handler parses of an XML document and returns the resulting list:
-- Lingo syntax
on ConvertToList xmlString
parserObject = new(xtra "xmlparser")
errorCode = parserObj.parseString(xmlString)
errorString = parserObj.getError()
if voidP(errorString) then
parsedList = parserObj.makeList()
else
alert "Sorry, there was an error" && errorString
exit
function.
log()
:
Answer
.
Answer
and then
Number
parseString()
makeList()
387
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers