Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB 2005 RANDOM WITH PERCENTAGE Pin
suguimoto28-Nov-09 8:58
suguimoto28-Nov-09 8:58 
AnswerRe: VB 2005 RANDOM WITH PERCENTAGE Pin
Luc Pattyn28-Nov-09 9:34
sitebuilderLuc Pattyn28-Nov-09 9:34 
AnswerRe: VB 2005 RANDOM WITH PERCENTAGE Pin
T210229-Nov-09 0:31
T210229-Nov-09 0:31 
GeneralRe: VB 2005 RANDOM WITH PERCENTAGE Pin
Luc Pattyn29-Nov-09 8:17
sitebuilderLuc Pattyn29-Nov-09 8:17 
GeneralRe: VB 2005 RANDOM WITH PERCENTAGE Pin
T210229-Nov-09 13:10
T210229-Nov-09 13:10 
QuestionTrying to pass a two dimensional array Pin
BobInNJ28-Nov-09 7:26
BobInNJ28-Nov-09 7:26 
AnswerRe: Trying to pass a two dimensional array Pin
Christian Graus28-Nov-09 7:44
protectorChristian Graus28-Nov-09 7:44 
AnswerRe: Trying to pass a two dimensional array Pin
Dave Kreskowiak28-Nov-09 8:03
mveDave Kreskowiak28-Nov-09 8:03 
BobInNJ wrote:


The default type for mat, since you didn't specify it, is Object. Your code, as written, is actually:
Sub printMatrix(ByRef mat(,) As object)

By the way, the ByRef is redundent in this case since all reference type as always bassed by, well, reference.

Your code should read:
Sub printMatric(ByRef mat(,) As Double)



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Trying to pass a two dimensional array Pin
BobInNJ28-Nov-09 10:20
BobInNJ28-Nov-09 10:20 
Questionlabel handeling Pin
negar karimi28-Nov-09 6:36
negar karimi28-Nov-09 6:36 
AnswerRe: label handeling Pin
dan!sh 28-Nov-09 6:39
professional dan!sh 28-Nov-09 6:39 
AnswerRe: label handeling Pin
Luc Pattyn28-Nov-09 6:54
sitebuilderLuc Pattyn28-Nov-09 6:54 
QuestionDefault return value? Pin
#realJSOP28-Nov-09 3:23
mve#realJSOP28-Nov-09 3:23 
AnswerRe: Default return value? Pin
Luc Pattyn28-Nov-09 3:34
sitebuilderLuc Pattyn28-Nov-09 3:34 
GeneralRe: Default return value? Pin
#realJSOP28-Nov-09 4:28
mve#realJSOP28-Nov-09 4:28 
GeneralRe: Default return value? Pin
Luc Pattyn28-Nov-09 4:44
sitebuilderLuc Pattyn28-Nov-09 4:44 
GeneralRe: Default return value? Pin
Dave Kreskowiak28-Nov-09 7:59
mveDave Kreskowiak28-Nov-09 7:59 
GeneralRe: Default return value? Pin
Luc Pattyn28-Nov-09 9:37
sitebuilderLuc Pattyn28-Nov-09 9:37 
GeneralRe: Default return value? Pin
David Skelly30-Nov-09 22:50
David Skelly30-Nov-09 22:50 
GeneralRe: Default return value? Pin
Dave Kreskowiak1-Dec-09 15:27
mveDave Kreskowiak1-Dec-09 15:27 
AnswerRe: Default return value? Pin
dan!sh 28-Nov-09 6:13
professional dan!sh 28-Nov-09 6:13 
GeneralRe: Default return value? Pin
Luc Pattyn28-Nov-09 6:56
sitebuilderLuc Pattyn28-Nov-09 6:56 
GeneralRe: Default return value? Pin
Mycroft Holmes28-Nov-09 21:18
professionalMycroft Holmes28-Nov-09 21:18 
GeneralRe: Default return value? Pin
DaveAuld28-Nov-09 22:18
professionalDaveAuld28-Nov-09 22:18 
GeneralRe: Default return value? Pin
Luc Pattyn29-Nov-09 0:16
sitebuilderLuc Pattyn29-Nov-09 0:16 

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.