Null Values
Null strings are represented by an empty field, such as the one after ani in this code
example.
{2,2,{"vdu_id","2df5d9e6003b00007800002a1f430002"},{"ani",}}
Null names cannot be used in a couple.
Syntax examples
[VTel.Assign ("DDEApp|DDETopic")]
[VTel.Login("llutton","querty","5301","1111","1812")]
[VTel.Login("llutton","querty",,,)]
[VTel.VDUGetOneValue("2df5d9e6003b00007800002a1f430002","ani",)]
[VTel.VDUSetValues("2df5d9e6000002a1f430002",{0,1,{"ani","5089525120"}})]
[VTel.VDUGetValues("2df5d9e6003b00007800002a1f430002",{0,0})]
In this last line of this example, the first zero in {0,0} indicates "send back all the values
found"; the second zero indicates that there are no couples in the sequence, where the
sequence is simply being used to indicate the maximum number of couples to be returned.
Responses
For every request made to VTel, there is a response returned to the application that made
the request. This response message consists of .response appended to the request
name, an exception string, the argument list of the request (which may be modified to
return the results) and, if required, a return code:
[command.response(exception,arg1,arg2,arg3...,argn)return code]
Problem levels
For any request, there are five reasons why a problem may occur.
Communications path
The request cannot be communicated to one of the components due to a communications
failure.
Responses
Issue 2.1 August 2003
39