- Posts: 5
- Thank you received: 0
- Forum
- CodeTyphon Studio
- Using CT on MS Windows
- Operation << and >> are not supported by JEDI code format
×
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
- SunHC
- Topic Author
- Offline
- New Member
-
Less
More
1 year 6 months ago #15336
by SunHC
Operation << and >> are not supported by JEDI code format was created 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
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.
- Matis A.
-
- Away
- Moderator
-
1 year 6 months ago - 1 year 6 months ago #15339
by Matis A.
PilotLogic Core Programmer
Replied by Matis A. on topic Operation << and >> are not supported by JEDI code format
What is <<New object pascal>> and <<new FPC>> ?
PilotLogic Core Programmer
Last edit: 1 year 6 months ago by Matis A..
Please Log in or Create an account to join the conversation.
- SunHC
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
1 year 6 months ago #15340
by SunHC
Replied by SunHC on topic Operation << and >> are not supported by JEDI code format
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.
'<<' 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.
- Matis A.
-
- Away
- Moderator
-
1 year 6 months ago #15341
by Matis A.
PilotLogic Core Programmer
Replied by Matis A. on topic Operation << and >> are not supported by JEDI code format
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.
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.
- SunHC
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
1 year 6 months ago #15342
by SunHC
Replied by SunHC on topic Operation << and >> are not supported by JEDI code format
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.
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.
- Matis A.
-
- Away
- Moderator
-
1 year 6 months ago #15343
by Matis A.
PilotLogic Core Programmer
Replied by Matis A. on topic Operation << and >> are not supported by JEDI code format
Sir
We make some changes to JEDI code format (lz_Jcf2) at LAB CT ver 7.3
I hope to work for you
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.