Author Topic: [Questions] Pascal in Stealth  (Read 5805 times)

0 Members and 1 Guest are viewing this topic.

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
[Questions] Pascal in Stealth
« on: June 23, 2014, 11:15:22 PM »
0
Discussion and Questions about the Pascal tutorial in Stealth.

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +205
  • Referrals: 2
    • View Profile
Re: [Questions] Pascal in Stealth
« Reply #1 on: June 24, 2014, 08:47:25 AM »
0
You have it set so that the reader can attempt some of the things that you are demonstrating which is something that I would like to try. Do I need to get a pascal compiler or will the edit portion of stealth work?

If I need to get a compiler, are there any free ones that are good?

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Questions] Pascal in Stealth
« Reply #2 on: June 24, 2014, 09:25:58 AM »
0
You have it set so that the reader can attempt some of the things that you are demonstrating which is something that I would like to try. Do I need to get a pascal compiler or will the edit portion of stealth work?

If I need to get a compiler, are there any free ones that are good?
I wroted and executed those samples with the Stealth Editor.
Whenever i pointed out things from web, i guess people had a hard time getting samples working wich are made for working with delphi.
So i decided to work on all samples via Stealth Code-Editor

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +205
  • Referrals: 2
    • View Profile
Re: [Questions] Pascal in Stealth
« Reply #3 on: June 24, 2014, 03:05:55 PM »
0
Okay I was trying this out in the stealth editor and I nothing is happening.

Code: [Select]
Program StructureTutorial; 

const
    Message = 'Hello Scriptuo!'; 

var
    ValueMin : Double;
    ValueMax : Double;

procedure SendMessage(Text:String);
begin
    AddToDebugJournal(Text);
end;
begin
    SendMessage(Message);
end.

If we now press play you should see a small console opens up and prints the content of our passed information. - This is what was at the end of your tutorial for this part.

What am I missing or what did I do wrong?

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Questions] Pascal in Stealth
« Reply #4 on: June 24, 2014, 09:15:32 PM »
0


I get the console output in the grey window, you?

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +205
  • Referrals: 2
    • View Profile
Re: [Questions] Pascal in Stealth
« Reply #5 on: June 24, 2014, 10:09:52 PM »
0
lol to be honest I may have missed that though I see it now when I run it. I was actually expecting to see a gump window or something like that to appear.

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +205
  • Referrals: 2
    • View Profile
Re: [Questions] Pascal in Stealth
« Reply #6 on: June 28, 2014, 11:07:05 AM »
0
Okay I am getting a compiler error when trying to run one of the samples and I am not sure where my error is. I will show a screenshot of the error as it showed when I ran it and then a second one so you can see what the line looks like.





and







What did I do wrong?


Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Questions] Pascal in Stealth
« Reply #7 on: June 28, 2014, 12:29:01 PM »
0
Calcresult is an attribute of the datatype "TMathObject". Either you or me forgot to add it to the Code. Look into the Spoiler  here
« Last Edit: June 28, 2014, 12:30:44 PM by Crome969 »

Tags: