Largest int from concatenated ints: Difference between revisions

Content added Content deleted
Line 704: Line 704:


=={{header|Gambas}}==
=={{header|Gambas}}==
'''[https://gambas-playground.proko.eu/ You can run this code. Copy the code, click this link, paste it in and press 'Run !']'''
<lang gambas>'Largest int from concatenated ints
<lang gambas>'Largest int from concatenated ints


Public Sub Form_Open()
Public Sub Main()
Dim iList1 As Integer[] = [1, 34, 3, 98, 9, 76, 45, 4] 'Integer list 1
Dim iList1 As Integer[] = [1, 34, 3, 98, 9, 76, 45, 4] 'Integer list 1
Dim iList2 As Integer[] = [54, 546, 548, 60] 'Integer list 2
Dim iList2 As Integer[] = [54, 546, 548, 60] 'Integer list 2
Line 714: Line 715:


End
End
_________________________________________________________________________________________
'_________________________________________________________________________________________


Public Sub Calc(iList As Integer[])
Public Sub Calc(iList As Integer[])