Welcome, Guest
Username: Password: Remember me
Components and Libraries for Scripting Development, discussions, problems and suggestions

TOPIC:

pl_magicscript 3 years 1 month ago #16213

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We need help with MagicScript, Not with CT database layer.
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

pl_magicscript 3 years 1 month ago #16214

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
Ok, Sir. I believe that I misunderstood you.
What do you need?

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

pl_magicscript 3 years 1 month ago #16215

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
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.

pl_magicscript 3 years 1 month ago #16216

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
The "magic" is in
lz_JitClasses package


 


 
PilotLogic Architect and Core Programmer
Attachments:
The following user(s) said Thank You: LuZZZZi

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

Last edit: by Sternas Stefanos.

pl_magicscript 3 years 1 month ago #16217

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
Is that package under 7.6 available?


Thx

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

pl_magicscript 3 years 1 month ago #16218

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes
in CT 7.50 and CT LAB 7.60
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

pl_magicscript 3 years 1 month ago #16219

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
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.

pl_magicscript 3 years 1 month ago #16220

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Use this code from LAB CT
PilotLogic Architect and Core Programmer

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

pl_magicscript 2 years 4 months ago #17157

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
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

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

Last edit: by LuZZZZi.

pl_magicscript 2 years 4 months ago #17158

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Your CT version ?
and more info to solve the problem..
 
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

pl_magicscript 2 years 4 months ago #17159

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
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.