Hello,
Why this words is highlighted in MikroBasic and I can't use this words for variable names ?
str, time, hour, month, len, input ... It's possible to be more ....
This names is accepted by MikroBasic compiler only if library with this variables is compiled with MikroPascal and then I use it from *.mcl file ...
Few words is highlighted !
Few words is highlighted !
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
Re: Few words is highlighted !
The language highlighter takes the Visual Basic syntax, where those words are reserved.
What problems does it exactly cause to you?
What problems does it exactly cause to you?
Re: Few words is highlighted !
I can't use this words in MikroBasic.zristic wrote:What problems does it exactly cause to you?
For example :
Mikropascal :
Code: Select all
type TNtp = Record
Rfc : dWord;
Unix : dWord;
Year : word;
Month : byte;
Day : byte;
Hour : byte;
Min : byte;
Sec : byte;
Str : string[32];
end;
Code: Select all
structure TNtp
dim Rfc as longword
dim Unix as longword
dim Year as word
dim Month as byte
dim Day as byte
dim Hour as byte
dim Min as byte
dim Sec as byte
dim Str as string[32]
end structure
63:7 E-1 'hour' is not valid identifier lib1_ENC28J60_V3_3.pbas
66:7 E-1 'str' is not valid identifier lib1_ENC28J60_V3_3.pbas
I want to keep compatibility between MIkroPascal and MikroBasic libraries.
I can not do this if source code is rewritten in MikroBasic.
Work without problems only when I use *.mcl file from MikroPascal.
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
Re: Few words is highlighted !
I see.
At the moment i see no solution for that problem, sorry.
At the moment i see no solution for that problem, sorry.