Overclock.net banner

1 - 2 of 2 Posts

·
Registered
Joined
·
26 Posts
Discussion Starter #1
This should be pretty easy to pull off for someone. Its a script that exchanges two variables using a temporary third one. I need this by at least two hours. please please please help.

This is my very failed attempt.

Java parseFloat

ldlace">



live">Swapping Variables with JavaScript





 

·
Registered
Joined
·
4,335 Posts
This is java? Looks like HTML... But mieh.

In C++, it's just

void swap(int &a, int &b)
{
int temp;
temp = a;
a = b;
b = temp;
}

Perhaps something similar in java? Don't know any java though.
 
1 - 2 of 2 Posts
Top