Click here to Skip to main content
15,902,861 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 0:11
mveOriginalGriff11-Mar-10 0:11 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
peropata11-Mar-10 0:21
peropata11-Mar-10 0:21 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Keith Barrow11-Mar-10 0:31
professionalKeith Barrow11-Mar-10 0:31 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 1:37
mveRichard MacCutchan11-Mar-10 1:37 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 1:48
suprsnipes11-Mar-10 1:48 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
KenKen Wong11-Mar-10 2:10
KenKen Wong11-Mar-10 2:10 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 2:19
suprsnipes11-Mar-10 2:19 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 3:57
mveOriginalGriff11-Mar-10 3:57 
I think what KenKen Wong was saying is: Your code will either not compile or not work as you expect, because you are putting information into bn1..bn4, and printing from pn1..pn4.

suprsnipes wrote:

    if (splitCounter == 1)
    bn1 = double.Parse(s);

    if (splitCounter == 2)
    bn2 = double.Parse(s);

    if (splitCounter == 3)
    bn3 = double.Parse(s);

    if (splitCounter == 4)
    bn4 = double.Parse(s);
}
Print("Pn: " + pn1 + " " + pn2 + " " + pn3 + " " + pn4);
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 2:33
mveRichard MacCutchan11-Mar-10 2:33 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 2:58
suprsnipes11-Mar-10 2:58 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Keith Barrow11-Mar-10 3:15
professionalKeith Barrow11-Mar-10 3:15 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 4:37
mveRichard MacCutchan11-Mar-10 4:37 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes11-Mar-10 5:13
suprsnipes11-Mar-10 5:13 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
Richard MacCutchan11-Mar-10 6:33
mveRichard MacCutchan11-Mar-10 6:33 
GeneralRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
DaveyM6911-Mar-10 8:26
professionalDaveyM6911-Mar-10 8:26 
QuestionWeb Service authentification server site Pin
olibara10-Mar-10 23:17
olibara10-Mar-10 23:17 
QuestionProblem with list with generic filter predicate. Pin
ddecoy10-Mar-10 22:47
ddecoy10-Mar-10 22:47 
AnswerRe: Problem with list with generic filter predicate. Pin
Keith Barrow10-Mar-10 23:31
professionalKeith Barrow10-Mar-10 23:31 
GeneralRe: Problem with list with generic filter predicate. Pin
ddecoy10-Mar-10 23:52
ddecoy10-Mar-10 23:52 
GeneralSOLVED Pin
ddecoy11-Mar-10 0:03
ddecoy11-Mar-10 0:03 
QuestionFast execution Pin
sanforjackass10-Mar-10 22:31
sanforjackass10-Mar-10 22:31 
AnswerRe: Fast execution Pin
Saksida Bojan10-Mar-10 22:40
Saksida Bojan10-Mar-10 22:40 
GeneralRe: Fast execution Pin
sanforjackass10-Mar-10 22:53
sanforjackass10-Mar-10 22:53 
GeneralRe: Fast execution Pin
harold aptroot10-Mar-10 22:57
harold aptroot10-Mar-10 22:57 
GeneralRe: Fast execution Pin
sanforjackass10-Mar-10 22:59
sanforjackass10-Mar-10 22:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.