FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 If
 
Purpose
Branches processing based on a condition.
This command requires a condition that must be TRUE or FALSE. Any numeric condition that is not TRUE is considered to be FALSE. When the condition is TRUE, the commands following this statement are executed, then processing continues on the line following End If.
Syntax
If Condition Then Command1 Else Command2
If Condition Then
Commands
End If

If Condition1 Then
Commands
ElseIf Condition2 Then
Commands
Else
Commands
End If
You can include any number of ElseIf...Then clauses with a block If...Then structure to specify additional conditions.
Example
If FCUserid = "guest" Then
        Print "Welcome Guest User"
ElseIf FCUserid = "admin" Then
        Print "Welcome Administrator"
Else
        Print "Welcome"         'user is neither a guest nor administrator
End If

 

Copyright(C) 2002-2011 FC Management Co. All Rights Reserved