THE CODEThere is a great deal on writing code with Pascal on the internet.
Just do a search for Pascal or Delphi.
And I am sure you will come up with many links that can teach you something.
Here is an example.
http://pascalprogramming.byethost15.com/lesson1.phpPascal is not that hard.
It is fairly logical code.
So I hope that what little I have learnt over the past few years.
May assist you in some small way.
This will be a hands on Tutorial.
That means, I will be coding as I write this.
And implementing it into my bot.
Let's get started with some terms.
VARIABLES. VAR for short.
What is it?
And how do you use them?
This is all my point of view.
So it may or may not be accurate.
VAR (Variable)
Is something you assign to something.
Let's look at an example.
Var name;
name:='Coco';
Print ('My dog is called '+name)'
That will print out this result.
"My dog is called Coco"
That is about as simple of an explanation of what a variable is.
Here is a bunch of variables that I did for a project of mine.
{###### Variables ##########}
var F : Text;
S : String;
{InputQuery variables}
var qr,decision,decide;
{Chips, chip units, min chip settings}
var CU,chips,chips_set,Chip1,Chip2,Chip3,Chip4,Chip5,Chip6,Chip7,min_chip,chip_q;
{Print Variables}
var PT,pn,n,i,ds,nos;
{Cash amounts variables}
var start_amount,wish_amount,amount,stop_loss;
{Array Variables}
var gv,el_n;
{Casino Variables}
var CasinoName,TableName,TN,csp;
{Operation Variables}
var last_nr,ch_n,unit_value,spin_count,fl_stop,was_betting,sim_mode;
{Element Variables}
var k_el,k_el1,el_name,set_name;
var elements,elements1;
var elements_played,total_elements;
{Date variables}
var Year,Month,Day,h,m,sec,ms
{###### End Variables ######}
Many of these variables will be used in this application.
If you want a full description of what a variable is.
And how they are used.
Then LOOK IT UP...
Do a search on the internet for information.
How do you think I found out how to do this sort of stuff?
--------------------------------------------------------------
Variables can be used for anything.
And your scripts that you make.
Will need variables to make it run.