Java question

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
auerhantheman1





Posts: 384
Joined: Mon Sep 25, 2006 12:57 pm

Java question

Post by auerhantheman1 »

how do i return an array as a variable to the main method in java? thanks in advance :D
Your sig can't exceed 500x120 and 75kb in file size.
caboose wrote:your toast has been burned, and no amount of scraping will remove the black parts!
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

yay google? clicky
Image
Download Eschaton: Halomods | Filefront | Mediafire
auerhantheman1





Posts: 384
Joined: Mon Sep 25, 2006 12:57 pm

Post by auerhantheman1 »

yay nvm i figured it out another way. but thanks :D
Your sig can't exceed 500x120 and 75kb in file size.
caboose wrote:your toast has been burned, and no amount of scraping will remove the black parts!
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

I hope you did something like this as your solution:

Code: Select all

void main(string args[]){

int[] i = arrayMethod();

}

int[] arrayMethod(){
return new int[]{0, 1, 2};
}

Post Reply