Page 1 of 1
Small doubts CoolBasic
Posted: Mon Aug 03, 2009 4:11 am
by Chopepo
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
Re: Small doubts CoolBasic
Posted: Mon Aug 03, 2009 4:09 pm
by Aavesoturi
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:
http://www.coolbasic.com/cbmanual/commands/crc32.html
EOF(file_handle) is a function that returns TRUE if the file has been read to the end. English example here:
http://www.coolbasic.com/cbmanual/commands/eof.html
Re: Small doubts CoolBasic
Posted: Thu Aug 06, 2009 11:41 am
by Zero
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.