Talk:Javagony/Brainfuck Reduction

From Esolang
Jump to navigation Jump to search

Better way of input

int d=0;
d=System.in.read();

Reads one ASCII character and return its ASCII value.

But the function is declared as: raise IOException, so we have to catch it.

int d=0;
try{
    d=System.in.read();
}catch(Exception e){
    ;
}

--None1 (talk) 11:16, 28 December 2023 (UTC)