Skip to content

anonymous /gist:afffcce8c81b31c8f1dc secret

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
public class Command {
static final int CMD_LET = 0;
static final int CMD_DOC = 1;
static final int CMD_PRINT = 2;
static final int CMD_DO = 3;
static final int CMD_HISTORY = 4;
static final int CMD_END = 5;
String s;
public Command(String s){
this.s = s;
}
public int getCommand(){
if();
return(CMD_LET);
if()
return(CMD_DOC);
if()
return(CMD_PRINT);
if()
return(CMD_DO);
if()
return(CMD_HISTORY);
if()
return(CMD_END);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.