× Components and Libraries for Scripting Development, discussions, problems and suggestions

Question pl_magicscript

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
11 months 3 weeks ago - 11 months 3 weeks ago #16213 by Sternas Stefanos
Replied by Sternas Stefanos on topic pl_magicscript
We need help with MagicScript, Not with CT database layer.

PilotLogic Architect and Core Programmer
Last edit: 11 months 3 weeks ago by Sternas Stefanos.

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

  • LuZZZZi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 months 3 weeks ago #16214 by LuZZZZi
Replied by LuZZZZi on topic pl_magicscript
Ok, Sir. I believe that I misunderstood you.
What do you need?

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

  • LuZZZZi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 months 3 weeks ago #16215 by LuZZZZi
Replied by LuZZZZi on topic pl_magicscript
My oppinion is that you are not able to implement the same behavior like TitanScript to MagicScript. I'm working with (I call it) pseudo variables. ex: <type TPoint = Record X: Integer; Y: Integer; end; > or <const myconst = 21;> and before the compilation process starts I'm extracting the definitions and adding them to the global script.

Cheers

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
11 months 3 weeks ago - 11 months 3 weeks ago #16216 by Sternas Stefanos
Replied by Sternas Stefanos on topic pl_magicscript
The "magic" is in
lz_JitClasses package


 


 

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 11 months 3 weeks ago by Sternas Stefanos.
The following user(s) said Thank You: LuZZZZi

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

  • LuZZZZi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 months 3 weeks ago #16217 by LuZZZZi
Replied by LuZZZZi on topic pl_magicscript
Is that package under 7.6 available?


Thx

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
11 months 3 weeks ago - 11 months 3 weeks ago #16218 by Sternas Stefanos
Replied by Sternas Stefanos on topic pl_magicscript
Yes
in CT 7.50 and CT LAB 7.60

PilotLogic Architect and Core Programmer
Last edit: 11 months 3 weeks ago by Sternas Stefanos.

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

  • LuZZZZi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 months 3 weeks ago #16219 by LuZZZZi
Replied by LuZZZZi on topic pl_magicscript
Demo app crashes at line 153 of the unit1.
Win8 x86_64 CT X86_64 7.6

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
11 months 3 weeks ago #16220 by Sternas Stefanos
Replied by Sternas Stefanos on topic pl_magicscript
Use this code from LAB CT

PilotLogic Architect and Core Programmer

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

  • LuZZZZi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago - 2 months 2 weeks ago #17157 by LuZZZZi
Replied by LuZZZZi on topic pl_magicscript
Hi guys,

I have used your Magic-Script-Builder for the first time. There are some issues:

Register_EnumSet -> Register_EnumSet('TName', TName = Set Of ......
Register_Enum -> The values of the enum is like that the first or the last two values are not separated by a comma. Sometimes the all values are not separated by a comma.
ProcCallMethod -> There are often Exit; End; without an if construct in front.

Cheers
Last edit: 2 months 2 weeks ago by LuZZZZi.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 months 2 weeks ago - 2 months 2 weeks ago #17158 by Sternas Stefanos
Replied by Sternas Stefanos on topic pl_magicscript
Your CT version ?
and more info to solve the problem..
 

PilotLogic Architect and Core Programmer
Last edit: 2 months 2 weeks ago by Sternas Stefanos.

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

  • LuZZZZi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #17159 by LuZZZZi
Replied by LuZZZZi on topic pl_magicscript
I'm working with the newest CT version on an Raspberry Pi Linux x86_64 and on a win7 x86_64 virtual system. I don't have had a look at the sources of the converter yet.

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