「ThenPrint」を含むwiki一覧 - 1ページ

CONTINUE - Basicsoftのうぃき

ープの次の発生にジャンプします。BREAK.の反対。ExamplesFor I As Integer = 1 To 10 If I = 1 ThenPrint "One";ContinueEndifIf I = 2 ThenPrint " Two&q

IF - Basicsoftのうぃき

ExamplesDim k As IntegerFor k = 1 To 10 If k < 5 Or If k > 5 ThenPrint k;;ElsePrintPrint "5 has been reached!" End IfNext

256-If Then - Basicsoftのうぃき

If / Then ( ステートメント )INPUT “MARKS”, M IF M<75 THEN PRINT “ADMIT” END IFFormatif boolean_expression then statement

QUIT - Basicsoftのうぃき

ction Calcmean(fSum As Float, fCount As Float) As Float If fCount = 0 ThenPrint "Division by 0 in function Calcmean" QuitEndifRetu

WeekDay - Basicsoftのうぃき

2 22:31:30 -> 4 If WeekDay("6/8/2008") = 0 ThenPrint "It is a Sunday"ElsePrint "It is not a Sunday

Comp - Basicsoftのうぃき

er Name:";Input UserNameIf Comp(UserName, "Akiti") = 0 ThenPrint "You Can Enter"ElsePrint "Sorry, You Cannot E

AND - Basicsoftのうぃき

Dim A, B As BooleanA = 10 < 20B = 20 > 30If A And B ThenPrint "Both A and B are TRUE"ElsePrint "Either A or

Events declaration - Basicsoftのうぃき

39;イベントを開催しますbResult = Raise BeforeSend("MyData")If bResult ThenPrint "Canceled !"EndifEvent Handlerデフォルトでは、Name_EventNa

256-Confirm - Basicsoftのうぃき

Confirm (Function)Formatconfirm ( prompt )confirm ( prompt, boolean_expression)returns boolean_expression説明この関数は、「はい」および「いいえ」ボタンのあるメッセージボックス

MOD - Basicsoftのうぃき

-4;; -9 Mod -41 -1 1 -15による除数の検定Dim N As IntegerN = 563If N Mod 5 = 0 ThenPrint "The number " & N & " is divisible by

LOCK - Basicsoftのうぃき

Try to acquire the lockTry hLock = Lock "~/my-lock"If Error ThenPrint "Locked is already acquired. Try again later." Ret

Str - Basicsoftのうぃき

= 2Sub PrintOn(Where As Integer, What As Variant)If Where = ON_STDOUT ThenPrint WhatElse If Where = ON_MESSAGE ThenMessage(Str$(What))EndifE

  • 1