Object variable initialization
issueid=340 13-12-2011 12:04
Super Moderator
Number of reported issues by Petr Schreiber: 129
Object variable initialization
It would be useful to be able to initialize object variables at declare time

ThinBASIC already allows to initialize variables during their declaration:
Dim d As Dword = 5
Dim s As String = "Hello"
It would be nice to be able to do the same for object variables:
Dim t As cTimer = new CTimer

Petr
Issue Details
Issue Number 340
Issue Type Feature
Project thinBasic
Category Core engine (thinCore.dll)
Status Accepted
Priority 3
Suggested Version 1.8.9
Implemented Version (none)
Milestone (none)
Votes for this feature 0
Votes against this feature 0
Assigned Users (none)
Tags (none)




19-12-2011 23:56
Issue Changed by ErosOlmi
  • Status changed from Suggested to Accepted

+ Reply