SteveTerrell Active Member Licensed User Longtime User Jan 8, 2014 #1 This was my error but should the compiler have detected the double declaration of "index"? Code: Copy Sub MapEntry(index As Int) As GridPoint Dim tempPoint As GridPoint Dim index As Int Or at least generated a warning?
This was my error but should the compiler have detected the double declaration of "index"? Code: Copy Sub MapEntry(index As Int) As GridPoint Dim tempPoint As GridPoint Dim index As Int Or at least generated a warning?
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #2 It is fine (and actually required in many cases) to "redim" a variable. Upvote 0
SteveTerrell Active Member Licensed User Longtime User Jan 9, 2014 #3 Erel said: It is fine (and actually required in many cases) to "redim" a variable. Click to expand... This "Basic" language is a bit tricky for us "C" programmers! I suppose the next thing will be "no line limbers" Upvote 0
Erel said: It is fine (and actually required in many cases) to "redim" a variable. Click to expand... This "Basic" language is a bit tricky for us "C" programmers! I suppose the next thing will be "no line limbers"