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 > legacy > string > createSingleString

createSingleString

文字列変数を1つ作成.

呼び出し手順

int createSingleString(void* _pvCtx, int _iVar, const char* _pstStrings)
int createNamedSingleString(void* _pvCtx, const char* _pstName, const char* _pstStrings)
int createSingleString(void* _pvCtx, int _iVar, const char* _pstStrings)
int createNamedSingleWideString(void* _pvCtx, const char* _pstName, const wchar_t* _pwstStrings)

引数

_pvCtx

Scilab環境ポインタ, api_scilab.hで提供される"pvApiCtx"を指定.

_iVar

変数を保存するScilabメモリの位置.

_pstName

"名前指定" 関数の場合の変数名.

_pstStrings

文字列のアドレス.

_pwstStrings

ワイド文字列のアドレス.

戻り値

成功した場合は 0, それ以外はScilabコンソールにエラーメッセージを表示し, 最初のエラー番号を返します.

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:10:43 CET 2017