Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Fuck Visual Basic in its Ass

Name: Anonymous 2013-11-10 15:50

Okay guys, I'm learning Visual Basic and I'm having quite some trouble with it

okay, here's the problem, imagine I have 4 variables, all as INT16
those values are assigned to A, B, C and D

I have to find the max value, the min value (which are no problem, I'm already past that)

But now I have to make the program find out if any of these values are repeated, what do?

Name: EXPERT 2013-11-10 16:01

U HAVE TO CHECK IF THE MAX VALUE IS EQUAL TOANY OF THE OTHER VALUES AND DO THE SAME WITH THE MIN VALUE

Name: Anonymous 2013-11-10 16:09

>>2

U DA BEST

Thank You, can't believe that was causing me such trouble

Name: Anonymous 2013-11-10 18:00

>>2
You actually helped him!

Name: Anonymous 2013-11-10 19:08

you forgot to check the two middle values for equality

Name: Anonymous 2013-11-11 23:01

>>2
Wrong.
If you already compared the max value to the min, there's no need to compare the min to the max. So the min is only compared to the non-max values.

Name: Anonymous 2013-11-12 0:38

>>8
It's visual basic, it's supposed to be inefficient.

Name: Anonymous 2013-11-12 10:59

>─────▄████▀█▄
   >───▄█████████████████▄
   >─▄█████.▼.▼.▼.▼.▼.▼▼▼▼
   >▄███████▄.▲.▲▲▲▲▲▲▲▲
   >███████████████████▀▀
   YOU HAVE BEEN CAUGHT BY THE GATOR OF DOOM! REPOST THIS 5 TIMES OR GET GATORED!!!

Name: Anonymous 2013-11-12 12:36

You'll get AIDS doing that.

Name: EXPERT 2013-11-12 15:26

>>8

U NEVER HAB TO COMPER THE MIN WITH THE MAX OR THE MAX WITH THE MIN WICH IS THE SAEM

IF U ALREDY KNO THE MIN AND THE MAX VALUE U DONT NEEED TO COMPAER EM U JUST NEED TO COMPARE THE MIN AND THE MAX WIHT THE OTHER VAULUES CUZ THE OP JUST WANTS2 KNO IF THE MAX OR THE MIN VALUES R REPETED

Name: Anonymous 2013-11-14 16:56

░░░░░░░░░░░░░░░░░▄█▄░░░░░░░░░░░░░░░░░ 
░░░░░░░░░░░░░░░▄▀░░░▀▄░░░░░░░░░░░░░░░ 
░░░░░░░░░░░░░▄▀░░░░▄▀█░░░░░░░░░░░░░░░ 
░░░░░░░░░░░▄▀░░░░▄▀░▄▀░▄▀▄░░░░░░░░░░░ 
░░░░░░░░░▄▀░░░░▄▀░▄▀░▄▀░░░▀▄░░░░░░░░░ 
░░░░░░░░░█▀▄░░░░▀█░▄▀░░░░░░░▀▄░░░░░░░ 
░░░░░▄▀▄░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░░░░░ 
░░░▄▀░░░▀▄░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░░░ 
░░░█▀▄░░░░▀▄░█▀░░░░░░░▀█░▀▄░▀▄░▄▀█░░░ 
░░░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░▀▄░█░▄▀░░░ 
░░░░░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░▀█▀░░░░░ 
░░░░░░░▀▄░▀▄░▄▀░▄▀░█▀░░░░▄▀█░░░░░░░░░ 
░░░░░░░░░▀▄░█░▄▀░▄▀░░░░▄▀░▄▀░░░░░░░░░ 
░░░░░░░░░░░▀█▀░▄▀░░░░▄▀░▄▀░░░░░░░░░░░ 
░░░░░░░░░░░░░░░█▀▄░▄▀░▄▀░░░░░░░░░░░░░ 
░░░░░░░░░░░░░░░▀▄░█░▄▀░░░░░░░░░░░░░░░ 
░░░░░░░░░░░░░░░░░▀█▀░░░░░░░░░░░░░░░░░ 

Name: Anonymous 2013-11-16 12:50



 ▬▬▬.◙.▬▬▬
 ═▂▄▄▓▄▄▂
 ◢◤ █▀▀████▄▄▄▄◢◤
 █▄ ███ ███▀▀▀▀▀▀▀╬ /︻╦╤─ JOIN THE RESISTANCE NOW!!!
 ◥█████◤ /▌
 ══╩══╩══▬▬▬.◙.▬▬ / \ LET'S GET THE OLD YOUTUBE BACK!!!

Don't change these.
Name: Email:
Entire Thread Thread List