Click here to Skip to main content
15,915,600 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han4-Oct-12 1:47
Cihangir Giray Han4-Oct-12 1:47 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon4-Oct-12 1:51
mvePete O'Hanlon4-Oct-12 1:51 
QuestionEntity Framework, Import Function Stored Procs & Data Services Pin
Worried Brown Eyes1-Oct-12 23:57
Worried Brown Eyes1-Oct-12 23:57 
QuestionHow to use FileSystemWatcher Control ? Pin
DEEPAK9489@GMAIL.COM1-Oct-12 16:47
DEEPAK9489@GMAIL.COM1-Oct-12 16:47 
AnswerRe: How to use FileSystemWatcher Control ? Pin
JF20151-Oct-12 19:05
JF20151-Oct-12 19:05 
AnswerRe: How to use FileSystemWatcher Control ? Pin
Eddy Vluggen2-Oct-12 4:42
professionalEddy Vluggen2-Oct-12 4:42 
QuestionHow to know .NET Framework, deeply? Pin
atoi_powered1-Oct-12 12:22
atoi_powered1-Oct-12 12:22 
AnswerRe: How to know .NET Framework, deeply? Pin
Eddy Vluggen2-Oct-12 4:40
professionalEddy Vluggen2-Oct-12 4:40 
GeneralRe: How to know .NET Framework, deeply? Pin
isenthil2-Oct-12 6:27
isenthil2-Oct-12 6:27 
GeneralRe: How to know .NET Framework, deeply? Pin
atoi_powered2-Oct-12 8:23
atoi_powered2-Oct-12 8:23 
QuestionCrytal reports Pin
yaswanth0011-Oct-12 1:27
yaswanth0011-Oct-12 1:27 
AnswerRe: Crytal reports Pin
Pete O'Hanlon1-Oct-12 1:46
mvePete O'Hanlon1-Oct-12 1:46 
GeneralRe: Crytal reports Pin
yaswanth0011-Oct-12 7:04
yaswanth0011-Oct-12 7:04 
GeneralRe: Crytal reports Pin
Pete O'Hanlon1-Oct-12 9:42
mvePete O'Hanlon1-Oct-12 9:42 
QuestionAndroid applications Pin
Member 940514026-Sep-12 6:24
Member 940514026-Sep-12 6:24 
AnswerRe: Android applications Pin
Richard MacCutchan26-Sep-12 6:32
mveRichard MacCutchan26-Sep-12 6:32 
AnswerRe: Android applications Pin
Abhinav S1-Oct-12 1:49
Abhinav S1-Oct-12 1:49 
QuestionJagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger25-Sep-12 6:50
M-Badger25-Sep-12 6:50 
For love nor money I cannot get the syntax right.
I want to return 3 x 2D arrays from a function but can't wrap my head around it - I suspect I have just failed to grasp some fundamental aspect of jagged arrays!
VB
Public Function SVD() As Double(,)(,)(,)
    Dim arS(,) As Double
    Dim arU(,) As Double
    Dim arV(,) As Double

    ...Fill the Arrays...
    
     Dim arSVD(,)(,)(,) As Double
     
     arSVD(0) = arS
     arSVD(1) = arU
     arSVD(2) = arV

     Return arSVD
End Function

If I have it that way the error is on arSVD(n) and says 'Number of indices is less than the number of dimensions...'

If I change the return type and arSVD to Double()()() then the error is on the last arS and says 'Value of type 2D array cannot be converted to 1D array...'

If I change it to arSVD(0,0) for example the error is on the last arS and says 'Value of type 2D array cannot be converted to type 2D array of 2D array...'

Bash. Head. Brick. Wall.

Any help very gratefully received.

Mike
AnswerRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
Richard Deeming4-Oct-12 8:23
mveRichard Deeming4-Oct-12 8:23 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger4-Oct-12 20:43
M-Badger4-Oct-12 20:43 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger4-Oct-12 20:51
M-Badger4-Oct-12 20:51 
Questionthe system.__ComObject Pin
Majed.Alhazmi25-Sep-12 1:30
Majed.Alhazmi25-Sep-12 1:30 
AnswerRe: the system.__ComObject Pin
Shameel25-Sep-12 1:55
professionalShameel25-Sep-12 1:55 
QuestionHelp with system.__ComObject Pin
Majed.Alhazmi25-Sep-12 1:29
Majed.Alhazmi25-Sep-12 1:29 
QuestionValidation of viewstate MAC failed. Pin
Sandeepkumar potu24-Sep-12 19:52
Sandeepkumar potu24-Sep-12 19:52 

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.