Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Comparing Arrays

Author
Message
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Jun 2004 23:45
I want to see which of 8 different two-dimensional integer arrays is the least. How would I do this?

"Could you do something where you don't need a video card cause i don't have one" - Program Expert
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 21st Jun 2004 23:48
How do you mean least?

Do you mean by number of items, total value or min / max values?

Two strings walk into a bar. I'll have a pint says the first$%ASLDJ09920D"$"$D. Excuse my friend says the second, he isn't null terminated.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Jun 2004 23:54
Well, I'm doing A*. My code enters it total movecost value into a array, totcost(20,20), and I want to get the array with the lowest value. Get what I mean?

"Could you do something where you don't need a video card cause i don't have one" - Program Expert
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 22nd Jun 2004 01:30
Never mind, I got it working with some for / next loops

"Could you do something where you don't need a video card cause i don't have one" - Program Expert

Login to post a reply

Server time is: 2025-05-26 05:17:15
Your offset time is: 2025-05-26 05:17:15