This looks like Delphi (or a pascal derivative) because of the semi colons at the end of the lines and also the :=
assignment operator. Delphi is also a RAD language which would be good for building out their screens.
Edit: Based on the related question of the system running unix, Delphi can be done on *nix
Note: Object Pascal (Delphi) is generally not case sensitive. My examples are in lowercase while the screen shot is uppercase.
Here is a basic if/else
I found from here
if (condition1) And (condition2) // Both conditions must be satisfied
then
begin
statement1;
statement2;
...
end // Notice no terminating ';' - still part of 'if'
else
begin
statement3;
statement4;
...
end;
if you compare the similarities to what you can see in the image, it's a match. The if [predicates] then begin ... end
matches
Same for the while [condition] do
example from here
While sqrNum <= 100 do
begin
...
end;
Also looking at the comment blocks using *
, you can match them to this (found here)
//This is a single line comment.
{
Multiple line
comment.
}
(*
This too is a
multiple line comment.
*)
Examining the right file more the comments are # not * and it also looks like a build script or some kind of shell script, especially if you read the comments.