Indirection question
Jean-Luc Arnaud <jean-luc-E/[email protected]> Fri, 7 Dec 2018 18:35:31 +0100
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Organization | Centre Direct du Multimédia |
| Message-ID | <[email protected]> |
Hi all, Is there a way to use a kind of indirection, just like Dynamic strings and #, but for other type of variable, in particular with arrays? Let say I have 3 arrays named "MyArray1", "MyArray2" and "MyArray3". I need to use them with indirection, something like: Dim Name1 As String="MyArray1" Dim Name2 As String="MyArray2" Dim Name3 As String="MyArray3" If Value=1 Result=#Name1(0) End If TIA for any help -- Jean-Luc Arnaud