![Advantech UbiQ User Manual Download Page 73](http://html1.mh-extra.com/html/advantech/ubiq/ubiq_user-manual_2856809073.webp)
67
UbiQ Scenario Manager User Manual
Chapter 5
Functions
Reference
5.2.13
HelpWindow
Syntax
void HelpWindow(int nStartX, int nStartY, int nWidth, int nHeight)
Parameters
nStartX: Specifies the beginning x-coordinate of display area.
nStartY: Specifies the beginning y-coordinate of display area.
nWidth: Specifies the width of display area.
nHeight: Specifies the height of display area.
Description
This function set the help window on the specified coordinate when entering
configuration mode.
Example
HelpWindow(10,238,200,17);
See Also
LoadBMP, LoadBMPByValue, ShowText
5.2.14
itoa
Syntax
int itoa(int nValue, char* pDest, int nBase)
Parameters
nValue: the value will be converted
pDest: Specifies the Destination array
nBase: Specifies the base number, it will be 10 or 16.
Description
This function returns the actually length of the converted string.
Example
// The example will convert a integer to string and show them
char pDest[20]; // declare pDest as char[20]
int nI;
int nLen;
setdebug(TRUE);
nI=1024;
nLen=itoa(nI,pDest,10);
debug(“itoa(“,nI,”pDest,10)=”,pDest); // It will show “itoa(1024,pDest,10)=1024”
itoa(nI,pDest,16);
debug(“itoa(“nI,”pDest,16)=”,pDest); // It will show “itoa(1024,pDest,16)=400”
See Also
ftoa, atoi, atof, atoh
Summary of Contents for UbiQ
Page 1: ...User Manual UbiQ Scenario Manager User Manual V1 03...
Page 4: ...UbiQ Scenario Manager User Manual iv...
Page 7: ...Chapter 1 1 Introduction...
Page 13: ...Chapter 2 2 Getting Started...
Page 37: ...Chapter 3 3 Tutorials...
Page 47: ...Chapter 4 4 Basic of Smart C Script Language...
Page 62: ...UbiQ Scenario Manager User Manual 56...