Variabe Decleration and assign like Free Pascal / Delphi
VAR x : Byte = 1;
Many things in MikroPascal ist Pacal Style from the 80's but like C oder Free Pascal, Mikro Pascal should do any evolution too!
Variable Declaration and assign like Delphi/Free Pascal
- darko.ilijevski
- Posts: 581
- Joined: 21 Mar 2017 16:57
Re: Variable Declaration and assign like Delphi/Free Pascal
Hello,
That is an interesting suggestion. The only problem is that the people are used to the existing syntax and also many projects and libraries are already done with the same, existing syntax. I guess it might be added as an option, so it would work the both ways. Anyway I will pass the suggestion to the developers, thanks for the suggestion.
That is an interesting suggestion. The only problem is that the people are used to the existing syntax and also many projects and libraries are already done with the same, existing syntax. I guess it might be added as an option, so it would work the both ways. Anyway I will pass the suggestion to the developers, thanks for the suggestion.
BR,
Darko
Darko
Re: Variable Declaration and assign like Delphi/Free Pascal
But this isn't a problem.
In Freee Pascal/Deplhi both works.
You can do
VAR I : Byte;
you can also write
VAR I : Byte = 1;
They accepting both versions, so there ist no Problem with older code
In Freee Pascal/Deplhi both works.
You can do
VAR I : Byte;
you can also write
VAR I : Byte = 1;
They accepting both versions, so there ist no Problem with older code
- darko.ilijevski
- Posts: 581
- Joined: 21 Mar 2017 16:57
Re: Variable Declaration and assign like Delphi/Free Pascal
Hi,
I have submitted your suggestion to the developers. We will see if they will incorporate it in the compiler - if they decide it's useful, they certainly will.
Best regards
I have submitted your suggestion to the developers. We will see if they will incorporate it in the compiler - if they decide it's useful, they certainly will.
Best regards
BR,
Darko
Darko