Thread: Visual Basic
View Single Post
  #7   Spotlight this post!  
Unread 11-03-2004, 12:46
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,104
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: Visual Basic

are you compileing your variables before you try and sum them or is it an after affect

ie. function sample(x,y,z,p,d,q)

sum = x+Y+Z+P+D+Q


or
sum1 = x+y+z

sum2 = P+D+Q

Total = sum1 + sum2


i have found that doing inbetween steps like example 2 under each part of your program works better