Posts: 21
Threads: 6
Joined: Jul 2004
what is the correct way of doing this?
Code:
IF slot5% > slot1% AND slot5% > slot2% AND slot5% > slot3% AND slot5% > slot4% THEN
highexample$ = held5$
END IF
no idea. because that code has no context by itself. please post a full example of code.
Posts: 21
Threads: 6
Joined: Jul 2004
I prefer not to write the code here.
This new question is how can I write multiple operators to get the end result. Such as
slot1% = 10
slot2% = 7
slot3% = 5
slot4% = 4
slot5% = 1
This is where I'm having trouble with, writing the execution out.
IF slot1% > slot2% AND slot1% > slot3% AND slot1% > slot4% AND slot1% > slot5% THEN
...execute somthing
Am I writing it wrong, am I suppose to use buckets? or some comma's? If so where?
Posts: 324
Threads: 12
Joined: Nov 2005
Quote:I prefer not to write the code here.
I prefer not to guess at what you have in mind.
Quote:Am I writing it wrong, am I suppose to use buckets? or some comma's? If so where?
It depends. Explain why you are doing what you are doing, what your needs are - efficiency, flexibility, etc. - and post your algorithm and we might be able to help you. The best solution to a problem is rarely able to surface in such a small section of code.
(you'll probably get better advice with more information; there is no best way to solve software problems)
stylin:
dude yeah. i'm sick oef people coming here and asking for us to help you, and acting like your code is something i've never seen. are you insulting me? are you saying your code is better than the code that i release for everyone to see??
you think i'm some robot who's designed to give you the answers? fuck that. you want something, you give something. the sooner you learn that, the sooner you stop looking like a fool.
and yeah, i've had a little to much to drink tonight, now you get a nice dose of reality.
Posts: 3,522
Threads: 189
Joined: Dec 2003
Quote:dude yeah. i'm sick oef people coming here and asking for us to help you, and acting like your code is something i've never seen. are you insulting me? are you saying your code is better than the code that i release for everyone to see??
you think i'm some robot who's designed to give you the answers? fuck that. you want something, you give something. the sooner you learn that, the sooner you stop looking like a fool.
and yeah, i've had a little to much to drink tonight, now you get a nice dose of reality.
Yarr! I agree..
Posts: 1,025
Threads: 44
Joined: May 2005
Unfortunately, the people who do that kind of thing are the same people who don't read a single post before posting, and ignore/insult anyone who tries to tell them anything other then the answer they want, even when the question they wrote sucks beyond belief. I'm not even sure if you made a sticked post called "READ THIS RIGHT FUCKING NOW IF YOU HAVENT BEFORE OR BE BANNED FOR FUCKING LIFE AND HAVE YOUR POSTS FUCKING DELETED" that they would read it.... :roll:
maybe we should put such a post on our forums :laughing:
Posts: 3,522
Threads: 189
Joined: Dec 2003
Quote:Z!re Wrote:Yarr! I agree..
you only agree with me when i'm drunk and rowdy... :mrgreen:
Ofcourse..