Assembler

Community home and general chat.
Post Reply
peter
Active Member
Posts: 123
Joined: Mon Oct 22, 2007 2:31 pm

Assembler

Post by peter » Fri May 22, 2009 3:17 pm

Hi Zero,

are you planning with your new Basic version an inline Assembler ?
I'm a big fan of Assembler and C.
What about procedural programming ? Is this feasible with new version?

regards
Peter

User avatar
Zero
Lead Developer
Lead Developer
Posts: 712
Joined: Sun Aug 26, 2007 2:30 pm
Location: Helsinki, Finland
Contact:

Re: Assembler

Post by Zero » Mon May 25, 2009 8:18 am

What comes to procedural programming, by all means it's still possible, yet in a world of Object Oriented Programming the concept of global functions is blur.

For example, a static class like "Memory" practically only provides static ("Shared" modifier in CoolBasic V3 and VB.NET) methods meaning you'd never create any instance from the Memory class, but you'd use those methods directly instead (through qualification mind you).

Memory.Allocate()
Memory.WriteInteger()

etc.

You can, of course, create your own Shared methods (and also static classes (Modules) that only declare Shared members). The same concept also applies to "global" variables; you'll have to create Shared variables that reside inside classes or modules.

Yep, it's a pretty huge change. CoolBasic V3 will basically be just like Visual Basic .NET.
CoolBasic henkilökuntaa
Johtava Suunnittelija
CoolBasic V3, CoolBasic Classic

http://www.coolbasic.com/blog

peter
Active Member
Posts: 123
Joined: Mon Oct 22, 2007 2:31 pm

Re: Assembler

Post by peter » Mon May 25, 2009 12:23 pm

thank you for the information.
Peter

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest