Re: Indirection question
Claudius Sailer <[email protected]> Sun, 9 Dec 2018 14:56:43 +0100
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <[email protected]> |
I don=E2=80=98t know.... but is it a possibility to write a method or function and you send the = Array as parameter to it? > Am 07.12.2018 um 18:35 schrieb Jean-Luc Arnaud = <jean-luc-E/[email protected]>: >=20 > 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: >=20 > Dim Name1 As String=3D"MyArray1" > Dim Name2 As String=3D"MyArray2" > Dim Name3 As String=3D"MyArray3" > If Value=3D1 > Result=3D#Name1(0) > End If >=20 >=20 > TIA for any help >=20 > -- Jean-Luc Arnaud