Scilab 6.0.1
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
createScalarInteger8
スカラー整数変数を作成する.
呼び出し手順
int createScalarInteger8(void* _pvCtx, int _iVar, char cData)
int createNamedScalarInteger8(void* _pvCtx, const char* _pstName, char _cData)
int createScalarInteger16(void* _pvCtx, int _iVar, short sData)
int createNamedScalarInteger16(void* _pvCtx, const char* _pstName, short _sData)
int createScalarInteger32(void* _pvCtx, int _iVar, int iData)
int createNamedScalarInteger32(void* _pvCtx, const char* _pstName, int _iData)
int createScalarUnsignedInteger8(void* _pvCtx, int _iVar, unsigned char ucData)
int createNamedScalarUnsignedInteger8(void* _pvCtx, const char* _pstName, unsigned char _ucData)
int createScalarUnsignedInteger16(void* _pvCtx, int _iVar, unsigned short usData)
int createNamedScalarUnsignedInteger16(void* _pvCtx, const char* _pstName, unsigned short _usData)
int createScalarUnsignedInteger32(void* _pvCtx, int _iVar, unsigned int uiData)
int createNamedScalarUnsignedInteger32(void* _pvCtx, const char* _pstName, unsigned int _uiData)
引数
- _pvCtx
Scilab環境ポインタ, api_scilab.hで提供される"pvApiCtx"を指定.
- _iVar
変数を保存するScilabメモリの位置.
- _pstName
"名前指定" 関数の場合の変数名.
- _cData
8ビット整数値.
- _sData
16ビット整数値.
- _iData
32ビット整数値.
- _ucData
符号無し8ビット整数値.
- _usData
符号無し16ビット整数値.
- _uiData
符号無し32ビット整数値.
戻り値
成功した場合は 0, それ以外はScilabコンソールにエラーメッセージを表示し, 最初のエラー番号を返します.
Report an issue | ||
<< getScalarInteger8 | integer | 整数の例 >> |