Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - 日本語

Change language to:
English - Français - Português - Русский

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.

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

Report an issue
<< getScalarInteger8 integer 整数の例 >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:53:30 CET 2020