IF - Basicsoftのうぃき
IFIF Expression [ { AND IF | OR IF } Expression ... ] [ THEN ] ... [ ELSE IF Expression [ { AND IF | OR IF } Expression ... ] [ THEN ] ... ]
IFIF Expression [ { AND IF | OR IF } Expression ... ] [ THEN ] ... [ ELSE IF Expression [ { AND IF | OR IF } Expression ... ] [ THEN ] ... ]
Gambas Wiki の Markup Syntax について説明します。Special tables Special commands @{since <version>} @{classes} @{symbols} @{syntax}Gambas Wikiマー
AbsValue = Abs ( Number AS Float )数値の絶対値を計算します。数値の絶対値はその正の値です。 e。 -7の絶対値は7で、+ 7の絶対値も7です。Examples Print Abs(-2.5) 2.5
MATCH Since3.5 Result = Expression [ NOT ] MATCH Pattern Expression文字列がPattern Perl互換の正規表現と一致する場合にTRUEを返します。NOTが指定されていると、テスト
Asc Code = Asc ( Input [ , Position ] ) 文字列Inputの位置Positionにある文字のASCIIコードを返します。Positionが指定されていない場合は、最初の文字のASCIIコードが返されます。
Date Result = Date ( [ Expression ] ) 日付と時刻の式の日付部分を返します。 式が省略された場合は、今日の日付が返されます。 現在のローカライズが使用されます。つまり、現在のタイムゾーンの日付部分
Comp Result = Comp ( String1 AS String , String2 AS String [ , Mode AS Integer ] ) AS Integer 2つの文字列を比較して返します。 2つの文字列が等しい場合は
CInt Result = CInt ( Expression AS Variant ) AS Integer Result = CInteger ( Expression AS Variant ) AS Integer 式を整数( Integ
CLong Result = CLong ( Expression AS Variant ) AS Long 式を倍長整数(Long )に変換します。 オーバーフローは検出されません。 Errors Messag
Chr Character = Chr$ ( Code AS Integer ) AS String Character = Chr ( Code AS Integer ) AS String ASCIIコードが文字にコードを返します。
COPY COPY SourcePath TO DestinationPath SourcePathからDestinationPathにファイルをコピーします。宛先パスは、ソースパスと同じ名前である必要はありません。この関数ではディレクトリを再帰的
CHOWN Since3.1 CHOWN Path TO User ァイルまたはディレクトリの所有者を変更します。 パスはファイルまたはディレクトリのパスです。 ユーザーは新しい所有者の名前です。See also File
Conv$ ConvertedString = Conv$ ( String AS String , SourceCharset AS String , DestinationCharset AS String ) AS String ConvertedSt
Cos Value = Cos ( Angle AS Float ) AS Float 角度の余弦を計算します。角度はラジアンで指定されます。ExamplesPrint Cos(Pi)-1See also Trigonometric Functi
CHMOD Since3.1 CHMOD Path TO Mode 指定したファイルまたはディレクトリの権限を変更してください。 パスはファイルまたはディレクトリのパスです。 Modeは新しいモードを説明する文字列です。Mode文字列の構文は、ここ
CVariant Result = CVar ( Expression ) Result = CVariant ( Expression ) 式をバリアントに変換します。 これは、関数の結果がその引数のデータ型に依存している場合
CSingle Result = CSingle ( Expression AS Variant ) AS Single 式をSingle Be careful! The current localization is not u
CStr sResult = CStr ( Expression AS Variant ) AS String sResult = CString ( Expression AS Variant ) AS String 式を文字列に変換します。
CShort Short = CShort ( Expression AS Variant ) AS Short 式を短整数に変換します。式はまず整数に変換されます。 その後、この整数が Short の範囲をオーバーフローすると、切り捨てられます。
Cosh Value = Cosh ( Number AS Float ) AS Float 数値の双曲線余弦を計算します。ExamplesPrint Cosh(1)1.543080634815See also Trigonometric Fun
CPointer Result = CInteger ( Expression AS Variant ) AS Pointer 式をPointer.に変換します。Errors Message Description
Choose Value = Choose ( Choice , Result1 , Result2 [ , ... ] ) この関数は、Choiceの値に従って、そのResult#/ i / argumentsのうちの1つの値を返します。 Cho
CHGRP Since3.1 CHGRP Path TO Group ファイルまたはディレクトリのグループを変更します。 パスはファイルまたはディレクトリのパスです。 Groupは新しいグループの名前です。See also File &
ASin Value = ASin ( Number AS Float ) AS Float Value = Asn ( Number AS Float ) AS Float 数値の逆正弦を計算します。Errors Messag
BChg Value = BChg ( Number , Bit ) Bitthビットを反転してNumberを返します。 最下位ビットのビット数は0です。Numberのタイプは、Byte、Short、Integer、またはLongのいずれかです。B
ATan Value = ATan ( Number ) Value = Atn ( Number ) Atn関数はTan関数の逆です。 数値の逆正接を計算します。 その戻り値はラジアン単位で、-π/ 2からπ
ATanh Value = ATanh ( Number AS Float ) AS Float Value = Atnh ( Number AS Float ) AS Float 数値の双曲線正接を計算します。ExamplePrint Atnh(
ATan2 Angle = ATan2 ( Y , X ) Angle = Atn2 ( Y , X ) この関数は、2つの変数XとYのアークタンジェントを計算します。両方の引数の符号を使用して結果の象限を決定する点を除
Bin$(77)1001101Print Bin$(77, 16)0000000001001101See also Formatting functions
ASinh Value = ASinh ( Number ) Value = Asnh ( Number ) 数値の双曲線逆正弦を計算します。 Print ASinh(2) 1.443635475179 S
BClr Value = BClr ( Number , Bit ) Bitthビットをクリアした状態でNumberを返します。 最下位ビットのビット数は0です。Numberのタイプは、Byte、Short、Integer、またはLongのいずれか
BSet Value = BSet ( Number , Bit ) Bitthビットを設定してNumberを返します。 最下位ビットのビット数は0です。Numberのタイプは、Byte、Short、Integer、またはLongのいずれかです。B
CFloat Float = CFloat ( Expression AS Variant ) AS Float Float = CFlt ( Expression AS Variant ) AS Float 式を浮動小数点数に変換します。
Ceil Value = Ceil ( Number ) Number以上の最小の整数値を返します。ExamplesPrint Ceil(Pi)4Print Ceil(- Pi)-3See also Floor Arithmetical Fu
CByte Byte = CByte ( Expression AS Variant ) AS Byte 式をバイトに変換します。式はまず整数に変換されます。 その後、この整数がバイト範囲をオーバーフローすると、切り捨てられます。Errors
CDate Date = CDate ( Expression AS Variant ) AS Date 式(数値のFloatまたはString)をDate / Timeに変換します。 注意してください! 現在のローカライズはこの関
Cbr Value = Cbr ( Number AS Float ) AS Float 数値の3乗根を計算します。 数値はゼロ、負、正のいずれかです。ExamplesPrint Cbr(2)1.259921049895Print Cbr(-8)-
BTst Result = BTst ( Number , Bit ) NumberのBitthビットが設定されていればTRUEを返します。 最下位ビットのビット数は0です。Numberのタイプは、Byte、Short、Integer、またはLon
CBool Result = CBool ( Expression ) AS Boolean 式をブール値に変換します。次の場合、式は偽です。 偽のブール値。 ゼロ数 長さゼロの文字列 nullの日付 nullオブジェクトExamplesPrint
Pi Result = Pi ( [ Number AS Float ] ) Numberにπを掛けて結果を返します。Numberが指定されていない場合は、1と見なされます。ExamplesPrint Pi3.14159265359Print
Rad Value = Rad ( Angle AS Float ) AS Float 度をラジアンに変換します。ExamplesPrint Rad(90)1.570796326795Print Rad(180) - Pi0See also Tr
revealed side faceup, because it has no unrevealed side. Otherwise,it functions as a normal location in every other way.DO NOT READuntil the
e air.While in targeting mode, Ash is still able to perform all other functions, such as moving, maneuvering, casting abilities, and firing
to Trash slot. This includes the Matter Manipulator and it's upgraded functions (Paint Mode and Wire Mode).Auto-SortInventory_Sort.pngAt the
e air.While in targeting mode, Ash is still able to perform all other functions, such as moving, maneuvering, casting abilities, and firing
aled Chest- "Who doesn't need a fireproof chest?"Sign (burnt)- "Still functions as a landmark."Shipwrecked[]Sand_Castle.pngSand Castle (norm
Only effective at close range, it has a limited clip size.The Bronco functions like a cross between a shotgun and handgun, that comes in a
brighter days.”–Maxwell“A lamp of some sort. Presumably it no longer functions.”–WagstaffWigfrid_Portrait.png“It lighteth nöt!”–Wigfrid“Doe
e air.While in targeting mode, Ash is still able to perform all other functions, such as moving, maneuvering, casting abilities, and firing
rgy projectile, similar to the Arca Plasmor. In Atmospheric mode, it functions like a shotgun, and fires hit-scan pellets.ヒント[]As a shotgun