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(英語)
 
バナー:
 
 Debug
 
Purpose
Prints text to the console window only when the program is run from the development environment.
The Debug command acts like Print except that it is not executed when the built application is run, but is activated when run from the development environment. This is useful to prevent users from seeing debugging information after you build and release the application.
Debug can also be used as a variable to return the current debug status.
Syntax
Debug String
Debug = TRUE | FALSE


String
The text to be printed.
TRUE | FALSE
TRUE turns debugging on.

Examples
Sub Main()
        Print "This string will always be printed"
        Debug "This string only shows up when run from the development environment"
End Sub
Debug "This line will be seen"
Debug = false
Debug "This line will NOT be seen"
Debug = true
Debug "This line will be seen"
If (Debug = true) Debug "Debugging is turned on"

 

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