VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Program will calculate all the possible combinations/permutations of double/single digit numbers. D

MichaelSimone  (1 Submission)   String Manipulation   VB 6.0   Unknown Difficulty   Thu 14th October 2004   Mon 8th February 2021

Program will calculate all the possible combinations/permutations of double/single digit numbers. Developed for use in Totalization system

API Declarations


'* Combination Number Generator
'* By MICHAEL F SIMONE
'* Date: 08/20/2004
'* [email protected]
'*
'* I wrote this because most of the permutation/combination generator
'* only delt with single digit number strings and I needed one that
'* would handle double digits numbers within the string
'*
'* This program will generate all possible combination from the given
'* set of numbers provided including Double digit Numbers
'* By setting the Combo size number to a number between 1 and the
'* number of numbers in the pool the routine will return all possible
'* combinations for the combo size given
'* You MUST enter a "," seperator at the end of the number string
'*
'* Be sure to ad a form named frmCombo.


Option Explicit

Dim CNT As Long ' Used to calculate total of combimations
Dim iSize As Integer ' Indicates the number of digits for the combination you want to show.


Dim sSpacer As String
Dim Arry() As Variant

Rate Program will calculate all the possible combinations/permutations of double/single digit numbers. D (1(1 Vote))
Program will calculate all the possible combinations/permutations of double/single digit numbers. D.bas

Program will calculate all the possible combinations/permutations of double/single digit numbers. D Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters