Quantum Data 881 User Manual page 524

Hide thumbs Also See for 881:
Table of Contents

Advertisement

GetBoolResponse
Class
Description
Command syntax
Return type
Example
Related commands
146
Chapter 15 Script SDK
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()

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

882

Table of Contents