Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Add up (index)s


Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2002, 01:53 PM
Ice_Frog
Guest
 
Posts: n/a
Default Add up (index)s


How would i go about adding up the index numbers? eg:

Count the dice roll:

Dice(3)
Dice(5)

I want to be able to add up the 3 and 5 into DiceTotal...how?
Reply With Quote
  #2  
Old 09-10-2002, 02:09 PM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

How are you generating the numbers in the index?
You should be able to collect the indices from there.
What is Dice?
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 09-10-2002, 02:13 PM
Ice_Frog
Guest
 
Posts: n/a
Default

Sorry...im an idiot...all i have to do is add up the random numbers...arg...brain cramp
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->