View Single Post
  #1 (permalink)  
Old 02-17-2008, 11:07 AM
Stellaferox Stellaferox is offline
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 200
Default possible to give values to arrays in Sub Globals?

Hi,

Maybe a stupid question but I couldn't find an answer to it. In other languages it is possible to declare an array and immediately give it a value, e.g.
DIM Array(10) = (1,2,3,4,5,6,7,8,9)
This is not possible in Basic4PPC? I have to give every entry a single line?
array(0) = 1
array(1) = 2
array(2) = 3
etc. etc. ?
thnx
Marc
Reply With Quote