Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> API Scilab > integer > createScalarInteger8

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コンソールにエラーメッセージを表示し, 最初のエラー番号を返します.

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:25:14 CEST 2015