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

TOPIC:

pl_magicscript 1 year 3 months ago #16213

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4441
  • Thank you received: 1073
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 1 year 3 months ago #16214

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 0
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 1 year 3 months ago #16215

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 0
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 1 year 3 months ago #16216

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4441
  • Thank you received: 1073
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 1 year 3 months ago #16217

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


Thx

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

pl_magicscript 1 year 3 months ago #16218

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4441
  • Thank you received: 1073
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 1 year 3 months ago #16219

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 0
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 1 year 3 months ago #16220

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

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

pl_magicscript 6 months 1 week ago #17157

  • LuZZZZi
  • LuZZZZi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 0
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 6 months 1 week ago #17158

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4441
  • Thank you received: 1073
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 6 months 1 week ago #17159

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