Topic awaiting preservation: returning values (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
posted 09-03-2002 07:10
hi! how do i return more than 1 value from a function and how do i call it outside of the function? thanks. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-03-2002 08:45 |
Paranoid (IV) Inmate From: Lebanon |
posted 09-03-2002 08:58
You can also return an object. code: return {value1:1234,value2:1122,value3:'hello world'};
|
Obsessive-Compulsive (I) Inmate From: |
posted 09-04-2002 03:32
hey thanks... |