Var keyword
BlitzMax Forums/BlitzMax Beginners Area/Var keyword| 
 | ||
| This worked at 1.10... Local a:Int=15 Local b:Int Ptr=Int Ptr(a) Print Var b but now returns 'Compile Error. Internal error'. Need some input whether it's a bug or I was always doing something wrong but getting away with it. <edit> Seems I have to change var b to int(b) | 
| 
 | ||
| Doesn't seem to work anymore, you can use b[0] instead. Anyway you realise you're using 15 as an address? | 
| 
 | ||
| Changed my code to use b[0] and it works OK. This is a silly example just to get the error. Thanks |