Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

Titan Script 3 weeks 3 days ago #18470

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Hi,Is there a way to send some text to a Memo from Titan Script?I have attached two images to help explain my question.

Thank you for your assistanceJavier

 

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

Titan Script 3 weeks 3 days ago #18471

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1079
  • Thank you received: 154
My suggestion is to use pl_MagicScript

Titan Script will be removed.
PilotLogic Core Programmer

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

Titan Script 3 weeks 3 days ago #18472

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Thank you for your answer Sir.I have noticed that MagicScript is slower than PascalScript and PythonScript.My issue with PascalScript is interpreting expressions like 16/100, which returns 0. I have to use 16/100.0 to obtain the correct answer.In PythonScript, when I deliver the app, the user receives an error message about the Pascalxx.dll.I have attached a benchmark example using a simple for loop.I would appreciate it if you could review it.Thank you.Javier

CT 8.30 On Windows 11

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

Titan Script 3 weeks 3 days ago #18473

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1079
  • Thank you received: 154
Please try with out "Var" in Magic Script
vv: variant ;
ss : String ;

Begin
vv := 16/100 ;
ss := vv ;
print( ss) ;
End.
PilotLogic Core Programmer
The following user(s) said Thank You: Javier

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

Last edit: by Matis A..

Titan Script 3 weeks 3 days ago #18474

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
It works!

I appreciate your prompt response.
The issue now is that without using 'var', it does not send the result to the terminal.
I have attached the images.Regards

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

Last edit: by Javier.

Titan Script / Magic Script 3 weeks 2 days ago #18477

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Hi,

I understand you are busy releasing CT 8.40,

but do you think you could help me with my problem?

When I omit 'var' at the beginning of the core, the speed is correct,

but the terminal does not receive the answer.

Thank you for your assistance.

Javier

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

  • Page:
  • 1