Which Compilers support data structures & local vars?

General discussion on mikroC PRO for PIC32.
Post Reply
Author
Message
DrBob_HIDmaker
Posts: 18
Joined: 02 Dec 2018 21:03

Which Compilers support data structures & local vars?

#1 Post by DrBob_HIDmaker » 12 Jun 2019 22:58

This is a general question -- not limited to MikroE's PIC32 compilers.

At the moment, I only have mikroC Pro for PIC32. As I would expect, this C compiler supports data structures and unions, and local variables in functions (that do not interfere with variables of the same name outside of that function).

How about MikroE's PASCAL compilers? For all PIC sizes? I would expect there to be a good chance that at least some of those Pascal compilers would support data structures (aka Records) and local variables, but I'd like to know for sure.

How about MikroE's BASIC compilers? Basic usually does not support local variables or data structures, but maybe MikroE's versions do.

Can anybody fill me in?

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: Which Compilers support data structures & local vars?

#2 Post by stefan.filipovic » 13 Jun 2019 13:34

Hi,

Welcome to the mikroE forum.

All of our Pascal(Basic) compilers support records(structures) and local variables.

Each of our compilers has a demo version so you can download, install and test it for free.
https://www.mikroe.com/compilers

The demo version is limited to the project with less than 2K program words.

Kind regards,
Stefan Filipović

Post Reply

Return to “mikroC PRO for PIC32 General”