Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

# Create empty 2 dimensional array

# Create empty 2 dimensional array
x = 1
y = 2
two_dim = Array.new(x + 1) { Array.new(y + 1) }

p two_dim
 
PREVIOUS NEXT
Tagged: #Create #empty #dimensional #array
ADD COMMENT
Topic
Name
6+5 =