|
DM API Online help | |
SQGetFact FunctionThe SQGetFact function retrieves one Fact at a time from the API Facts set. Syntax void SQGetFact(
const char* szFactBuffer,
int iFormat );
Parameters iFact[in] Index of the fact to be retrieved.szFactBuffer[out] A char* buffer to hold the fact row returned, depending on the format selected.iFormat[in] 0 to return the fact in a tab delimited format (Percent, IfColumn, IfValue, ThenColumn, ThenValue, NoRows, Level, and Time ).1 to return the fact in a report form.Return Value The Function returns nothing. Remarks SQGetFact Use this function to retrieve discovered facts. After you run the Engine, use the number of discovered facts to loop on the function SQGetFact to present facts in your user interface. Example No Example |
| Copyright © 1996 - 2007 AZMY Thinkware Inc. All rights reserved. |