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

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

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

Scilab help >> Scilab > Scilab keywords > comments

comments

コメント

説明

文字列以外でスラッシュを2回続けたものは コメントの開始を意味します. この連続したスラッシュおよびその行のこれ以降の改行までの文字は 解釈されません.

関数の内部で,最初の命令または空行までの最初のコメント行 は関数ヘルプのデフォルトの内容を指定するために使用することができます.

g=9.81// the gravity

text='a//b'

function y=myfunction(x)
  // myfunction は y=x^2+1 を計算します
  // x はベクトルまたは行列である必要があります
  y=x^2+1
endfunction

help myfunction
Report an issue
<< comma Scilab keywords comparison >>

Copyright (c) 2022-2023 (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 Apr 02 17:37:31 CEST 2013