General compiler questions from new user

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
jmusselman64
Posts: 31
Joined: 15 May 2018 21:05

General compiler questions from new user

#1 Post by jmusselman64 » 15 May 2018 21:17

Greetings all!

I'm considering the Mikrobasic Mikromedia dsPIC33 board for an upcoming project, along with the dsPIC24/33 MikroBasic compiler, Visual TFT, and the Mikroprog programmer.

I've been using Firewing Basic, but find it lacks comprehensive ICD debugging abilities and it's development has been spotty.
I have a large chuck of programming that would need to be converted, and I've been evaluatinMikrobasic on a couple modules and a test program.
MikroBasic seems like it might be a good fit, but I've come up with some questions that I couldn't find in the help section.
Here we go...

How good is the performace of the TFT display in terms of CPU time?
My application will be reading several pots, reading a 250k async serial stream, reading user input from the touch screen and sending out a 100k async propretary data stream.

Can procedures pass arays or structures as parameters?

Will functions eventually have the ability to return bit variables?

Will boolean TRUE/FALSE types be added?

Can structures use the 'With' keyword?

Can procedures be 'overloaded', i.e., have the same name but take different parameter types?

Is there a way to decalre a local variable in a procedure as 'static'?

Are 'Enumerations' possible?


Thanks much for any input,
Jerry

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: General compiler questions from new user

#2 Post by filip » 17 May 2018 15:51

Hi,
How good is the performace of the TFT display in terms of CPU time?
My application will be reading several pots, reading a 250k async serial stream, reading user input from the touch screen and sending out a 100k async propretary data stream.
We haven't measured or tested the performance under these conditions, but I think it can handle these operations.
Can procedures pass arays or structures as parameters?
Yes, you can pass arrays and structures as parameters.
Will functions eventually have the ability to return bit variables?
No, functions cannot return bit variables.
Will boolean TRUE/FALSE types be added?
TRUE and FALSE are implemented based on the byte, where the TRUE is equal to 255 and FALSE to 0.
Can structures use the 'With' keyword?

Can procedures be 'overloaded', i.e., have the same name but take different parameter types?
Unfortunately, the with and overload statements are not supported.
Is there a way to declare a local variable in a procedure as 'static'?
The static keyword is not implemented, but the local declaration in a procedure can be accessed only in that very procedure.
Are 'Enumerations' possible?
No, the enumerations are not possible.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 General”