fork download
  1. Function ar_donor()
  2. Dim k(3, 5)
  3.  
  4. For i = 1 To 3
  5. For j = 1 To 5
  6. k(i, j) = i * j
  7. Next j
  8. Next i
  9.  
  10. ar_donor = k
  11. End Function
  12.  
  13. Sub ar_accepter(q)
  14. s = ""
  15. For i = LBound(q, 1) To UBound(q, 1)
  16. For j = LBound(q, 2) To UBound(q, 2)
  17. s = s & q(i, j) & " "
  18. Next j
  19. s = s + vbCrLf
  20. Next i
  21. MsgBox s
  22. End Sub
  23.  
  24. Sub zyxabc()
  25. ar = ar_donor()
  26. ar_accepter (ar)
  27. End Sub
  28.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty