× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question Operation << and >> are not supported by JEDI code format

More
1 year 6 days ago #15336 by SunHC
New object passcal support << and >> as the same feature to shr and shl, it works well in new FPC.
But JEDI code format in CT7.2 does not support << and >>.
OS:WIN10, 1909,X64

Please Log in or Create an account to join the conversation.

More
1 year 5 days ago - 1 year 5 days ago #15339 by Matis A.
What is <<New object pascal>> and <<new FPC>> ?

PilotLogic Core Programmer
Last edit: 1 year 5 days ago by Matis A..

Please Log in or Create an account to join the conversation.

More
1 year 5 days ago #15340 by SunHC
Sorry for this imprecisely description. In my view, object pascal is in evolution´╝îso "new" mean the latest versioni of PFC or other object pascal compiler.
'<<' and '>>' are bit wise operations in many other language, like c and c++, now object pascal support it as bit wise operation , have the same feature as shr and shl.

Please Log in or Create an account to join the conversation.

More
1 year 5 days ago #15341 by Matis A.
Yes
but CT use always the latest FPC from trunk, updated dally,
so if FPC has this ability then and CT has the same ability.

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

More
1 year 5 days ago #15342 by SunHC
It seems that JEDI code format's last update is around the year of 2013. May be '<<' or '>>' is supported after 2013 by FPC, so JEDI code format does not porcess '<< 'or '>>' properly.
sample code : g_offset := (lwState << 24);
then JEDI code format will show a error message ,see file attached.
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 4 days ago #15343 by Matis A.
Sir
We make some changes to JEDI code format (lz_Jcf2) at LAB CT ver 7.3
I hope to work for you

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.