GetBoolResponse
Class
Description
Command syntax
Return type
Example
Related commands
Chapter 15 Script SDK
464
Response
Gets the most recent query response string and returns it as a bool. If the first character of
the response string is "T" or "t" the return value is "true." If the first character of the
response string is "F" or "f" the return value is "false." Otherwise, it will attempt to convert
the string to unsigned long via strtoul(). If the result of the conversion is zero, the return
value is "false." If the result is not zero, the return value is "true."
sc.GetBoolResponse(void)
bool
Refer to sample program testapi.cpp
GetResponse(), GetIntResponse(), GetUIntResponse(), GetDoubleResponse(),
GetRespLineCount(), ClearResponse()
Need help?
Do you have a question about the 881 and is the answer not in the manual?