Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by Jamesy ( 13 years ago )
boolean value1 = true;
boolean value2 = false;

int num = 1;
int num = 2;

methodcalled(num);


public void methodcalled(int x){

String check = value;
string check2 = x.tostring;

string checking = check+check2;
// if button1 is pressed checking is value1
// if button2 is pressed checked is value2

// So depending on what button I press depends on the boolean value i want to check, in other words button 1 pressed checks boolean value1, button2 pressed checks boolean value2




}

 

Revise this Paste

Your Name: Code Language: