final int Width = 15;
final int Height = 30;
int[][] panelarray = new int[Height][Width];
void AddArray()
{
panelarray = new int[Height][Width];
Iterator<int[]> iter = block.array.iterator();
while (iter.hasNext())
{
int[] is = (int[]) iter.next();
panelarray[is[1] - 1][is[0]] = 1;
}
}
while 구문을 한 번도 제대로 돌지 못하고 getUncaughtException 이 발생합니다.
이 때 이차원 배열 is 값은 { 28, 5 } 입니다.
현재 제가 사용중인 우분투의 /etc/vim/vimrc 입니다
따로 수정한건 없고 추가만 했는데
15 set nocompatible
16 filetype plugin on
17 " Vim5 and later versions support syntax highlighting. Uncommenting the next
18 " line enables syntax highlighting by default.
19 if has("syntax")
20 syntax on
21
22 endif
23 set cindent
24 set smartindent
25 set autoindent
26 set sm "괄호표시
27 set number
28 set paste
29 set ruler
30 set incsearch
31 set cursorline
32 set title
33 set tabstop=4