[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[jx8-android] 013 - Array of numbers

"returning an array of different types"
#( int byte bool double float long
) do: [:type| | array |
	array := Java current
		callStaticMethodSync: #Test
		method: #getArrayOf ,type asGlobalName ,$s.
	self print: type ,'=' ,array
]