Script
”’################################################
”’###Script Name: Account Type ###
”’###Script Description: Shows your account type into a message box ###
”’###Author: Yousef Najjar ###
”’###Website: http://www.hybridsolutions.com ###
”’###Date: 22 / March / 2012 ###
”’###############################################
Sample
Public Sub main()Dim property_id as VTLGeneral.ENUM_ACCOUNT_INFO_INTEGER property_id = VTLGeneral.ENUM_ACCOUNT_INFO_INTEGER.ACCOUNT_TRADE_MODEClientCode.AccountInfoInteger(property_id)IF property_id=1 ThenGUI.MsgDialog("Demo Account")ElseIF property_id=2 ThenGUI.MsgDialog("Contest Account")ElseIF property_id=3 ThenGUI.MsgDialog("Real Account")End IFEnd Sub
See Also