home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 9 / IOPROG_9.ISO / soft / java / axbridge.exe / _SETUP.1 / ArrayTester.Frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-09-16  |  20.4 KB  |  704 lines

  1. VERSION 5.00
  2. Object = "{3904AC21-2DF5-11D1-8950-00805F2ADE08}#1.0#0"; "beans.ocx"
  3. Begin VB.Form Form1 
  4.    Caption         =   "Array Tester"
  5.    ClientHeight    =   6450
  6.    ClientLeft      =   1140
  7.    ClientTop       =   1500
  8.    ClientWidth     =   13620
  9.    LinkTopic       =   "Form1"
  10.    PaletteMode     =   1  'UseZOrder
  11.    ScaleHeight     =   6450
  12.    ScaleWidth      =   13620
  13.    Begin BridgeTesterCtl.BridgeTester BridgeTester1 
  14.       Height          =   3975
  15.       Left            =   240
  16.       Top             =   720
  17.       Width           =   6255
  18.       StringValue     =   " "
  19.       CharValue       =   0
  20.       intValue        =   0
  21.       FloatArray      =   "ArrayTester.frx":0000
  22.       ShortValue      =   0
  23.       CharArray       =   "ArrayTester.frx":0034
  24.       IntArray        =   "ArrayTester.frx":005E
  25.       ShortArray      =   "ArrayTester.frx":0092
  26.       ForeColor       =   0
  27.       BackColor       =   12632256
  28.       BooleanValue    =   0   'False
  29.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  30.          Name            =   "MS Sans Serif"
  31.          Size            =   8.25
  32.          Charset         =   0
  33.          Weight          =   400
  34.          Underline       =   0   'False
  35.          Italic          =   0   'False
  36.          Strikethrough   =   0   'False
  37.       EndProperty
  38.       BooleanArray    =   "ArrayTester.frx":00BC
  39.       ByteValue       =   0
  40.       DoubleValue     =   0
  41.       LongValue       =   0
  42.       ByteArray       =   "ArrayTester.frx":00E6
  43.       DoubleArray     =   "ArrayTester.frx":010B
  44.       FloatValue      =   0
  45.    End
  46.    Begin VB.CommandButton Command21 
  47.       Caption         =   "setIntArrayWithIndex"
  48.       Height          =   615
  49.       Left            =   11400
  50.       TabIndex        =   37
  51.       Top             =   5640
  52.       Width           =   1815
  53.    End
  54.    Begin VB.CommandButton Command20 
  55.       Caption         =   "Get Java Location"
  56.       Height          =   615
  57.       Left            =   9240
  58.       TabIndex        =   36
  59.       Top             =   5640
  60.       Width           =   1935
  61.    End
  62.    Begin VB.CommandButton Command19 
  63.       Caption         =   "Automation Test"
  64.       Height          =   615
  65.       Left            =   6960
  66.       TabIndex        =   35
  67.       Top             =   5640
  68.       Width           =   2055
  69.    End
  70.    Begin VB.CommandButton Command18 
  71.       Caption         =   "Get Intrinsic Property"
  72.       Height          =   495
  73.       Left            =   11400
  74.       TabIndex        =   34
  75.       Top             =   240
  76.       Width           =   1935
  77.    End
  78.    Begin VB.Frame Frame2 
  79.       Caption         =   "Intrinsic Types"
  80.       Height          =   1335
  81.       Left            =   6840
  82.       TabIndex        =   25
  83.       Top             =   120
  84.       Width           =   3135
  85.       Begin VB.OptionButton Option8 
  86.          Caption         =   "Boolean"
  87.          Height          =   255
  88.          Left            =   2040
  89.          TabIndex        =   33
  90.          Top             =   720
  91.          Width           =   975
  92.       End
  93.       Begin VB.OptionButton Option7 
  94.          Caption         =   "Long"
  95.          Height          =   255
  96.          Left            =   2040
  97.          TabIndex        =   32
  98.          Top             =   480
  99.          Width           =   855
  100.       End
  101.       Begin VB.OptionButton Option6 
  102.          Caption         =   "Short"
  103.          Height          =   255
  104.          Left            =   2040
  105.          TabIndex        =   31
  106.          Top             =   240
  107.          Width           =   855
  108.       End
  109.       Begin VB.OptionButton Option5 
  110.          Caption         =   "Byte"
  111.          Height          =   255
  112.          Left            =   2040
  113.          TabIndex        =   30
  114.          Top             =   960
  115.          Width           =   975
  116.       End
  117.       Begin VB.OptionButton Option4 
  118.          Caption         =   "Double"
  119.          Height          =   255
  120.          Left            =   240
  121.          TabIndex        =   29
  122.          Top             =   960
  123.          Width           =   855
  124.       End
  125.       Begin VB.OptionButton Option3 
  126.          Caption         =   "Float"
  127.          Height          =   255
  128.          Left            =   240
  129.          TabIndex        =   28
  130.          Top             =   720
  131.          Width           =   855
  132.       End
  133.       Begin VB.OptionButton Option2 
  134.          Caption         =   "Char"
  135.          Height          =   255
  136.          Left            =   240
  137.          TabIndex        =   27
  138.          Top             =   480
  139.          Width           =   855
  140.       End
  141.       Begin VB.OptionButton Option1 
  142.          Caption         =   "Int"
  143.          Height          =   255
  144.          Left            =   240
  145.          TabIndex        =   26
  146.          Top             =   240
  147.          Width           =   615
  148.       End
  149.    End
  150.    Begin VB.CommandButton Command17 
  151.       Caption         =   "Set Intrinsic Property"
  152.       Height          =   495
  153.       Left            =   11400
  154.       TabIndex        =   24
  155.       Top             =   840
  156.       Width           =   1935
  157.    End
  158.    Begin VB.TextBox Text6 
  159.       Height          =   495
  160.       Left            =   10080
  161.       TabIndex        =   23
  162.       Text            =   "Text6"
  163.       Top             =   600
  164.       Width           =   1215
  165.    End
  166.    Begin VB.CommandButton Command16 
  167.       Caption         =   "Set Short Array"
  168.       Height          =   495
  169.       Left            =   10200
  170.       TabIndex        =   22
  171.       Top             =   1800
  172.       Width           =   1455
  173.    End
  174.    Begin VB.CommandButton Command15 
  175.       Caption         =   "Get Short Array"
  176.       Height          =   495
  177.       Left            =   6960
  178.       TabIndex        =   21
  179.       Top             =   1800
  180.       Width           =   1455
  181.    End
  182.    Begin VB.CommandButton Command14 
  183.       Caption         =   "Set Byte Array"
  184.       Height          =   495
  185.       Left            =   11760
  186.       TabIndex        =   20
  187.       Top             =   3600
  188.       Width           =   1455
  189.    End
  190.    Begin VB.CommandButton Command13 
  191.       Caption         =   "Get Byte Array"
  192.       Height          =   495
  193.       Left            =   8520
  194.       TabIndex        =   19
  195.       Top             =   3600
  196.       Width           =   1455
  197.    End
  198.    Begin VB.CommandButton Command12 
  199.       Caption         =   "Set Boolean Array"
  200.       Height          =   495
  201.       Left            =   10200
  202.       TabIndex        =   18
  203.       Top             =   3600
  204.       Width           =   1455
  205.    End
  206.    Begin VB.CommandButton Command11 
  207.       Caption         =   "Get Boolean Array"
  208.       Height          =   495
  209.       Left            =   6960
  210.       TabIndex        =   17
  211.       Top             =   3600
  212.       Width           =   1455
  213.    End
  214.    Begin VB.CommandButton Command10 
  215.       Caption         =   "Set Char Array"
  216.       Height          =   495
  217.       Left            =   11760
  218.       TabIndex        =   16
  219.       Top             =   3000
  220.       Width           =   1455
  221.    End
  222.    Begin VB.CommandButton Command9 
  223.       Caption         =   "Get Char Array"
  224.       Height          =   495
  225.       Left            =   8520
  226.       TabIndex        =   15
  227.       Top             =   3000
  228.       Width           =   1455
  229.    End
  230.    Begin VB.CommandButton Command8 
  231.       Caption         =   "Set Float Array"
  232.       Height          =   495
  233.       Left            =   10200
  234.       TabIndex        =   14
  235.       Top             =   3000
  236.       Width           =   1455
  237.    End
  238.    Begin VB.CommandButton Command7 
  239.       Caption         =   "Get Float Array"
  240.       Height          =   495
  241.       Left            =   6960
  242.       TabIndex        =   13
  243.       Top             =   3000
  244.       Width           =   1455
  245.    End
  246.    Begin VB.CommandButton Command6 
  247.       Caption         =   "Set String Array"
  248.       Height          =   495
  249.       Left            =   11760
  250.       TabIndex        =   12
  251.       Top             =   2400
  252.       Width           =   1455
  253.    End
  254.    Begin VB.CommandButton Command5 
  255.       Caption         =   "Get String Array"
  256.       Height          =   495
  257.       Left            =   8520
  258.       TabIndex        =   11
  259.       Top             =   2400
  260.       Width           =   1455
  261.    End
  262.    Begin VB.CommandButton Command4 
  263.       Caption         =   "Set Double Array"
  264.       Height          =   495
  265.       Left            =   10200
  266.       TabIndex        =   10
  267.       Top             =   2400
  268.       Width           =   1455
  269.    End
  270.    Begin VB.CommandButton Command3 
  271.       Caption         =   "Get Double Array"
  272.       Height          =   495
  273.       Left            =   6960
  274.       TabIndex        =   9
  275.       Top             =   2400
  276.       Width           =   1455
  277.    End
  278.    Begin VB.CommandButton Command2 
  279.       Caption         =   "Set Int Array"
  280.       Height          =   495
  281.       Left            =   11760
  282.       TabIndex        =   8
  283.       Top             =   1800
  284.       Width           =   1455
  285.    End
  286.    Begin VB.TextBox Text5 
  287.       Height          =   615
  288.       Left            =   12120
  289.       TabIndex        =   6
  290.       Top             =   4680
  291.       Width           =   1095
  292.    End
  293.    Begin VB.TextBox Text4 
  294.       Height          =   615
  295.       Left            =   10800
  296.       TabIndex        =   5
  297.       Top             =   4680
  298.       Width           =   1215
  299.    End
  300.    Begin VB.TextBox Text3 
  301.       Height          =   615
  302.       Left            =   9480
  303.       TabIndex        =   4
  304.       Top             =   4680
  305.       Width           =   1215
  306.    End
  307.    Begin VB.TextBox Text2 
  308.       Height          =   615
  309.       Left            =   8280
  310.       TabIndex        =   3
  311.       Top             =   4680
  312.       Width           =   1095
  313.    End
  314.    Begin VB.TextBox Text1 
  315.       Height          =   615
  316.       Left            =   7080
  317.       TabIndex        =   2
  318.       Top             =   4680
  319.       Width           =   1095
  320.    End
  321.    Begin VB.CommandButton Command1 
  322.       Caption         =   "Get Int Array"
  323.       Height          =   495
  324.       Left            =   8520
  325.       TabIndex        =   0
  326.       Top             =   1800
  327.       Width           =   1455
  328.    End
  329.    Begin VB.Frame Frame1 
  330.       Caption         =   "Array Values"
  331.       Height          =   1095
  332.       Left            =   6840
  333.       TabIndex        =   7
  334.       Top             =   4320
  335.       Width           =   6495
  336.    End
  337.    Begin VB.Line Line1 
  338.       X1              =   7320
  339.       X2              =   12840
  340.       Y1              =   1680
  341.       Y2              =   1680
  342.    End
  343.    Begin VB.Label Label1 
  344.       Caption         =   "Array Tester in Visual Basic"
  345.       BeginProperty Font 
  346.          Name            =   "MS Sans Serif"
  347.          Size            =   18
  348.          Charset         =   0
  349.          Weight          =   400
  350.          Underline       =   0   'False
  351.          Italic          =   0   'False
  352.          Strikethrough   =   0   'False
  353.       EndProperty
  354.       Height          =   495
  355.       Left            =   1200
  356.       TabIndex        =   1
  357.       Top             =   120
  358.       Width           =   4575
  359.    End
  360. Attribute VB_Name = "Form1"
  361. Attribute VB_GlobalNameSpace = False
  362. Attribute VB_Creatable = False
  363. Attribute VB_PredeclaredId = True
  364. Attribute VB_Exposed = False
  365. Private Sub BridgeTester1_eventNumber1(ByVal information As String, intValue As Long, ByVal source As Object)
  366.     MsgBox intValue
  367. End Sub
  368. Private Sub BridgeTester1_eventNumber2(ByVal String1 As String)
  369.     MsgBox String1
  370. End Sub
  371. Private Sub BridgeTester1_eventNumber3(ByVal parm1 As Integer)
  372.         MsgBox parm1
  373. End Sub
  374. Private Sub BridgeTester1_eventNumber4(ByVal intArray1 As Variant)
  375.     NL = Chr(10)
  376.     Msg = "Array of 1 Dimension with indexed from " & LBound(intArray1) & " To " & UBound(intArray1) & NL
  377.     For j = LBound(intArray1) To UBound(intArray1)
  378.         Msg = Msg & "Element no " & j & " = " & intArray1(j) & NL
  379.     Next
  380.     MsgBox Msg
  381. End Sub
  382. Private Sub Command1_Click()
  383.     Dim x As Variant
  384.     NL = Chr(10)
  385.     x = BridgeTester1.IntArray
  386.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  387.     For j = LBound(x) To UBound(x)
  388.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  389.     Next
  390.     If UBound(x) = 4 Then
  391.         Text1.Text = x(0)
  392.         Text2.Text = x(1)
  393.         Text3.Text = x(2)
  394.         Text4.Text = x(3)
  395.         Text5.Text = x(4)
  396.     End If
  397.     MsgBox Msg
  398. End Sub
  399. Private Sub Command10_Click()
  400.     Dim x(5)
  401.     Dim y As Variant
  402.     x(0) = CInt(Text1.Text)
  403.     x(1) = CInt(Text2.Text)
  404.     x(2) = CInt(Text3.Text)
  405.     x(3) = CInt(Text4.Text)
  406.     x(4) = CInt(Text5.Text)
  407.     y = x
  408.     BridgeTester1.CharArray = y
  409. End Sub
  410. Private Sub Command11_Click()
  411.     Dim x As Variant
  412.     NL = Chr(10)
  413.     x = BridgeTester1.BooleanArray
  414.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  415.     For j = LBound(x) To UBound(x)
  416.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  417.     Next
  418.     If UBound(x) = 4 Then
  419.         Text1.Text = x(0)
  420.         Text2.Text = x(1)
  421.         Text3.Text = x(2)
  422.         Text4.Text = x(3)
  423.         Text5.Text = x(4)
  424.     End If
  425.     MsgBox Msg
  426. End Sub
  427. Private Sub Command12_Click()
  428.     Dim x(5)
  429.     Dim y As Variant
  430.     If (Text1.Text = "True") Then
  431.         x(0) = True
  432.     Else
  433.         x(0) = False
  434.     End If
  435.     If (Text2.Text = "True") Then
  436.         x(1) = True
  437.     Else
  438.         x(1) = False
  439.     End If
  440.     If (Text3.Text = "True") Then
  441.         x(2) = True
  442.     Else
  443.         x(2) = False
  444.     End If
  445.     If (Text4.Text = "True") Then
  446.         x(3) = True
  447.     Else
  448.         x(3) = False
  449.     End If
  450.     If (Text5.Text = "True") Then
  451.         x(4) = True
  452.     Else
  453.         x(4) = False
  454.     End If
  455.     y = x
  456.     BridgeTester1.BooleanArray = y
  457. End Sub
  458. Private Sub Command13_Click()
  459.     Dim x As Variant
  460.     NL = Chr(10)
  461.     x = BridgeTester1.ByteArray
  462.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  463.     For j = LBound(x) To UBound(x)
  464.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  465.     Next
  466.     If UBound(x) = 4 Then
  467.         Text1.Text = x(0)
  468.         Text2.Text = x(1)
  469.         Text3.Text = x(2)
  470.         Text4.Text = x(3)
  471.         Text5.Text = x(4)
  472.     End If
  473.     MsgBox Msg
  474. End Sub
  475. Private Sub Command14_Click()
  476.     Dim x(5)
  477.     Dim y As Variant
  478.     x(0) = CInt(Text1.Text)
  479.     x(1) = CInt(Text2.Text)
  480.     x(2) = CInt(Text3.Text)
  481.     x(3) = CInt(Text4.Text)
  482.     x(4) = CInt(Text5.Text)
  483.     y = x
  484.     BridgeTester1.ByteArray = y
  485. End Sub
  486. Private Sub Command15_Click()
  487.     Dim x As Variant
  488.     NL = Chr(10)
  489.     x = BridgeTester1.ShortArray
  490.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  491.     For j = LBound(x) To UBound(x)
  492.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  493.     Next
  494.     If UBound(x) = 4 Then
  495.         Text1.Text = x(0)
  496.         Text2.Text = x(1)
  497.         Text3.Text = x(2)
  498.         Text4.Text = x(3)
  499.         Text5.Text = x(4)
  500.     End If
  501.     MsgBox Msg
  502. End Sub
  503. Private Sub Command16_Click()
  504.     Dim x(5)
  505.     Dim y As Variant
  506.     x(0) = CInt(Text1.Text)
  507.     x(1) = CInt(Text2.Text)
  508.     x(2) = CInt(Text3.Text)
  509.     x(3) = CInt(Text4.Text)
  510.     x(4) = CInt(Text5.Text)
  511.     y = x
  512.     BridgeTester1.ShortArray = y
  513. End Sub
  514. Private Sub Command17_Click()
  515.     If Option1.Value = True Then
  516.         BridgeTester1.intValue = CInt(Text6)
  517.     End If
  518.     If Option2.Value = True Then
  519.         BridgeTester1.CharValue = CInt(Text6)
  520.     End If
  521.     If Option3.Value = True Then
  522.         BridgeTester1.FloatValue = CDbl(Text6)
  523.     End If
  524.     If Option4.Value = True Then
  525.         BridgeTester1.DoubleValue = CDbl(Text6)
  526.     End If
  527.     If Option5.Value = True Then
  528.         BridgeTester1.ByteValue = CInt(Text6)
  529.     End If
  530.     If Option8.Value = True Then
  531.         If (Text6 = "true") Or (Text6 = "True") Then
  532.             BridgeTester1.BooleanValue = True
  533.         Else
  534.             BridgeTester1.BooleanValue = False
  535.         End If
  536.     End If
  537.     If Option7.Value = True Then
  538.         BridgeTester1.LongValue = CInt(Text6)
  539.     End If
  540.     If Option6.Value = True Then
  541.         BridgeTester1.ShortValue = CInt(Text6)
  542.     End If
  543. End Sub
  544. Private Sub Command18_Click()
  545.     If Option1.Value = True Then
  546.         Text6 = BridgeTester1.intValue
  547.     End If
  548.     If Option2.Value = True Then
  549.         Text6 = BridgeTester1.CharValue
  550.     End If
  551.     If Option3.Value = True Then
  552.         Text6 = BridgeTester1.FloatValue
  553.     End If
  554.     If Option4.Value = True Then
  555.         Text6 = BridgeTester1.DoubleValue
  556.     End If
  557.     If Option5.Value = True Then
  558.         Text6 = BridgeTester1.ByteValue
  559.     End If
  560.     If Option8.Value = True Then
  561.         If (BridgeTester1.BooleanValue) Then
  562.             Text6 = "True"
  563.         Else
  564.             Text6 = "False"
  565.         End If
  566.     End If
  567.     If Option7.Value = True Then
  568.         Text6 = BridgeTester1.LongValue
  569.     End If
  570.     If Option6.Value = True Then
  571.         Text6 = BridgeTester1.ShortValue
  572.     End If
  573. End Sub
  574. Private Sub Command19_Click()
  575.     Dim x As Integer
  576.     x = BridgeTester1.getComponentCount()
  577.     MsgBox x
  578.     Dim z As Object
  579.     Set z = BridgeTester1.getComponent(0)
  580.     MsgBox z.toString
  581. End Sub
  582. Private Sub Command2_Click()
  583.     Dim x(5)
  584.     Dim y As Variant
  585.     x(0) = CInt(Text1.Text)
  586.     x(1) = CInt(Text2.Text)
  587.     x(2) = CInt(Text3.Text)
  588.     x(3) = CInt(Text4.Text)
  589.     x(4) = CInt(Text5.Text)
  590.     y = x
  591.     BridgeTester1.IntArray = y
  592. End Sub
  593. Private Sub Command20_Click()
  594.     Dim x As Object
  595.     Set x = BridgeTester1.getLocation()
  596.     MsgBox x.x
  597.     x.x = 12
  598.     MsgBox x.x
  599. End Sub
  600. Private Sub Command21_Click()
  601.     Call BridgeTester1.setIntArrayWithIndex(2, 4)
  602. End Sub
  603. Private Sub Command3_Click()
  604.     Dim x As Variant
  605.     NL = Chr(10)
  606.     x = BridgeTester1.DoubleArray
  607.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  608.     For j = LBound(x) To UBound(x)
  609.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  610.     Next
  611.     If UBound(x) = 4 Then
  612.         Text1.Text = x(0)
  613.         Text2.Text = x(1)
  614.         Text3.Text = x(2)
  615.         Text4.Text = x(3)
  616.         Text5.Text = x(4)
  617.     End If
  618.     MsgBox Msg
  619. End Sub
  620. Private Sub Command4_Click()
  621.     Dim x(5)
  622.     Dim y As Variant
  623.     x(0) = CDbl(Text1.Text)
  624.     x(1) = CDbl(Text2.Text)
  625.     x(2) = CDbl(Text3.Text)
  626.     x(3) = CDbl(Text4.Text)
  627.     x(4) = CDbl(Text5.Text)
  628.     y = x
  629.     BridgeTester1.DoubleArray = y
  630. End Sub
  631. Private Sub Command5_Click()
  632.     Dim x As Variant
  633.     NL = Chr(10)
  634.     x = BridgeTester1.StringArray
  635.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  636.     For j = LBound(x) To UBound(x)
  637.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  638.     Next
  639.     If UBound(x) = 4 Then
  640.         Text1.Text = x(0)
  641.         Text2.Text = x(1)
  642.         Text3.Text = x(2)
  643.         Text4.Text = x(3)
  644.         Text5.Text = x(4)
  645.     End If
  646.     MsgBox Msg
  647. End Sub
  648. Private Sub Command6_Click()
  649.     Dim x(5)
  650.     Dim y As Variant
  651.     x(0) = Text1.Text
  652.     x(1) = Text2.Text
  653.     x(2) = Text3.Text
  654.     x(3) = Text4.Text
  655.     x(4) = Text5.Text
  656.     y = x
  657.     BridgeTester1.StringArray = y
  658. End Sub
  659. Private Sub Command7_Click()
  660.     Dim x As Variant
  661.     NL = Chr(10)
  662.     x = BridgeTester1.FloatArray
  663.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  664.     For j = LBound(x) To UBound(x)
  665.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  666.     Next
  667.     If UBound(x) = 4 Then
  668.         Text1.Text = x(0)
  669.         Text2.Text = x(1)
  670.         Text3.Text = x(2)
  671.         Text4.Text = x(3)
  672.         Text5.Text = x(4)
  673.     End If
  674.     MsgBox Msg
  675. End Sub
  676. Private Sub Command8_Click()
  677.     Dim x(5)
  678.     Dim y As Variant
  679.     x(0) = CDbl(Text1.Text)
  680.     x(1) = CDbl(Text2.Text)
  681.     x(2) = CDbl(Text3.Text)
  682.     x(3) = CDbl(Text4.Text)
  683.     x(4) = CDbl(Text5.Text)
  684.     y = x
  685.     BridgeTester1.FloatArray = y
  686. End Sub
  687. Private Sub Command9_Click()
  688.     Dim x As Variant
  689.     NL = Chr(10)
  690.     x = BridgeTester1.CharArray
  691.     Msg = "Array of 1 Dimension with indexed from " & LBound(x) & " To " & UBound(x) & NL
  692.     For j = LBound(x) To UBound(x)
  693.         Msg = Msg & "Element no " & j & " = " & x(j) & NL
  694.     Next
  695.     If UBound(x) = 4 Then
  696.         Text1.Text = x(0)
  697.         Text2.Text = x(1)
  698.         Text3.Text = x(2)
  699.         Text4.Text = x(3)
  700.         Text5.Text = x(4)
  701.     End If
  702.     MsgBox Msg
  703. End Sub
  704.