Using Xojo.Core

Hello,

I don’t quite understand Xojo.Core…

I’ve noticed this in a conversation
Using Xojo.Core
Using Xojo.IO

Dim tosEmployees As Xojo.IO.TextOutputStream

I would normally do it like this
Dim TOS As TextOutputStream

My apps work well without using Using Xojo.Core, should I adapt the new Using Xojo.Core?
Would I eventually have to conform to Using Xojo.Core?

Thanks.

Lennox

Major differences in framework.

This

Dim tosEmployees As Xojo.IO.TextOutputStream

Is equivalent to

Using Xojo.IO Dim TOS As TextOutputStream

But, if you are using

Dim TOS As TextOutputStream

without the “using part” then you are really using the old, general frameworks. Eventually, some day very far in the future this will go away.

[quote=254501:@Lennox Jacob]My apps work well without using Using Xojo.Core, should I adapt the new Using Xojo.Core?
Would I eventually have to conform to Using Xojo.Core?[/quote]
Personally, I’ve decided to hold off until I’m forced to, or until the benefits outweigh the drawbacks. There are still too many idiosyncrasies, IMO, to switch over to the new framework. At some point I would assume that Xojo will no longer update the old framework and the new features available in the new one will make the switch a no-brainer. That’s not today.

The New Xojo Framework

Thanks Bob and Eli.
Lennox