convert VBA code to Java code

dweich002

New Member
How I can convert this code from VB to Java?\[code\]Public Const z As Integer = 12Dim a As Long = 200Dim b As Double = 128.0Dim c As Double = 0.5Dim d As Integer = 1Dim E() As Double = {20.0, 10.0, 1.4, 3.0, 0.0, 2.7, 0.0, 14.0, 0.0, 0.0, 0.0}Dim F() As Double = {1.0, .4.3, 4.0, 6.4, 128.0, 12.8, 12.8, 4.0, 18.3, 128.0, 128.0, 128.0}Dim G(1 To z) As Double\[/code\]here is proplem in the functions Calc_AB and LM\[code\]Call Clac_AB(a, b * c * d, E, F, G)Sub Clac_AB(ByVal a As Long, ByVal b As Double, ByRef c, ByRef d, ByRef e)Call LM().Clac_AB(a, b, c, d, e)End SubPublic Function LM() As ObjectSet LM = CreateObject("ABCDE.fg")End Function\[/code\]
 
Back
Top