Small doubts CoolBasic

Post your coding questions such as 'how to' here.
Post Reply
Posts: 4
Joined: Mon Aug 03, 2009 3:58 am

Small doubts CoolBasic

Post by Chopepo » Mon Aug 03, 2009 4:11 am

What is the paradigm of CoolBasic?

Is it mandatory?, Object-oriented?

And the second question is ...

How do I use the command "CRC32 and EOF?

Thanks in advance


User avatar
Active Member
Posts: 163
Joined: Fri Aug 31, 2007 7:07 pm
Location: Helsinki

Re: Small doubts CoolBasic

Post by Aavesoturi » Mon Aug 03, 2009 4:09 pm

CoolBasic is not object-oriented, but procedural.

CRC32 returns a 32bit checksum of a file or a memory block. It can be used to validate the authencity of data or detect corruption/modifications. Just feed it with the filename/path (or memblock). There is an example in English here:

EOF(file_handle) is a function that returns TRUE if the file has been read to the end. English example here:

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

Re: Small doubts CoolBasic

Post by Zero » Thu Aug 06, 2009 11:41 am

The current CoolBasic is a procedural language. However, there is a new product, CoolBasic V3, in development, and it'll be fully object oriented language.
CoolBasic henkilökuntaa
Johtava Suunnittelija
CoolBasic V3, CoolBasic Classic

Post Reply