EasyManua.ls Logo

Quantum Data 881 - Page 524

Quantum Data 881
1144 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
146 Chapter 15 Script SDK
GetBoolResponse
Class Response
Description 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."
Command syntax sc.GetBoolResponse(void)
Return type bool
Example Refer to sample program testapi.cpp
Related commands GetResponse(), GetIntResponse(), GetUIntResponse(), GetDoubleResponse(),
GetRespLineCount(), ClearResponse()

Table of Contents

Related product manuals