getLast()
Usage
list.getLast()
getLast(list)
Description
List function; identifies the last value in a linear or property list specified by
Parameters
None.
Example
This statement identifies the last item, 22, in the list Answers, which consists of [10, 12, 15, 22]:
put Answers.getLast()
This statement identifies the last item, 850, in the list Bids, which consists of [#Gee:750,
#Kayne:600, #Ohashi:850]:
put Bids.getLast()
getLatestNetID
Usage
getLatestNetID
Description
This function returns an identifier for the last network operation that started.
The identifier returned by
and
netError,
Note: This function is included for backward compatibility. It is recommended that you use the
network ID returned from a net lingo function rather than
, use it immediately after issuing the netLingo command.
getLatestNetID
Parameters
None.
Example
This script assigns the network ID of a
results of that operation can be accessed later:
on startOperation
global gNetID
getNetText("url")
set gNetID = getLatestNetID()
end
on checkOperation
global gNetID
if netDone(gNetID) then
put netTextResult into member "Result"
end if
end
See also
netAbort, netDone(),
334
Chapter 12: Methods
getLatestNetID
functions to identify the last network operation.
netAbort
netError()
can be used as a parameter in the
getLatestNetID
operation to the field cast member Result so
getNetText
.
list
netDone,
. However, if you use
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