RosettaCodeData/Task/Loops-Foreach/BASIC/loops-foreach-6.basic

10 lines
156 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
Public Sub Main()
Dim siInput As Short[] = [1, 8, 0, 6, 4, 7, 3, 2, 5, 9]
Dim siTemp As Short
2017-09-23 10:01:46 +02:00
2019-09-12 10:33:56 -07:00
For Each siTemp In siInput.Sort()
Print siTemp;;
Next
2017-09-23 10:01:46 +02:00
2019-09-12 10:33:56 -07:00
End