Pascal is an imperative language from the Wirthian family created in 1969. It was widely used in engineering and teaching in the 1970s and 1980s. It lives on in compilers as Free Pascal and Delphi.

learn more…| top users | synonyms

0
votes
1answer
97 views

How to pass TForm and TPanel to a function?

I have these two functionsprocedure GradiantFill(Control: TCustomControlEx; ColorTop, ColorBtm: TColor); overload;procedure GradiantFill(Control: TForm; ColorTop, ColorBtm: TColor); overload;Both ...
1
vote
0answers
50 views

Alternate solution for innocallback.dll

I am trying to implement exactly the same as described at Inno Setup - Make Inno Setup Installer report its installation progress status to master installer .Using innocallback.dll it is working. ...
0
votes
1answer
176 views

Why would SQL statement return out of ordered dataset?

I have written a program that logs events into a db file as they happen using SQL statement. Whenever I open the table to view, I specifically request the dataset in descending order based on ALARM's ...
0
votes
2answers
60 views

Is the point on the inner border?

There is an algorithm, it subtracts a point into a circle, an outer / inner boundary, or a figure inside the circle. But I encountered such a problem, it does not correctly display the information ...
-1
votes
1answer
35 views

Can you randomize letters in Pascal?

I am creating a rock paper scissors game in Pascal for my computer science class at university. I have the code where I type 0, 1, or 2 to represent rock, paper, or scissors and that is fully random....
-1
votes
0answers
63 views

Example of Implicit base case condition for recursive method in Pascal

This procedure has an explicit base case condition:procedure binarySearch(A: array; var first, middle, last: integer; n: integer; var ok: boolean);beginif(first <=last) and (A[middle] <&...
1
vote
0answers
68 views

Skipping the operation by pressing TAB?

I want to realize the possibility that when the program starts the user can enter his coordinates, and also he could skip this paragraph by pressing <TAB>. When you click on the program, the ...
-1
votes
1answer
48 views

Pascal exitcode 201 [duplicate]

I am having problems with this program. The project is for it to be a cash register.Program Cash_Register;varItemsPrices: array[1..20] of real;ItemsNames: array[1..20] of string;...
1
vote
2answers
39 views

Pascal basic, need some explanation

Recently i just started learn pascal then i found this codefunction mengkono(s: integer):integer;beginif s < 3 thenmengkono :=3*s+1elsemengkono :=mengkono(s-1) + megnkono(s-2);...
0
votes
1answer
89 views

How can i get process suspended state?

I want to check the process is suspended or not in delphi.So I used the function below, but the function always return true.How can i check the process suspended??function ProcessExist(exeFileName:...
-1
votes
0answers
52 views

Pascal read and write from file, but all seems to be written correctly

program NEWSTART;{$mode objfpc}{$H+}usessysutils,{$IFDEF UNIX}{$IFDEF UseCThreads}cthreads,{$ENDIF}{$ENDIF}Classes{ you can add units after this };...
0
votes
2answers
60 views

^ meaning in “let's build a compiler” code

In Jack Crenshaw's "Lets' build a compiler" what does the ^I mean in this statement:const TAB=^I;He also uses ^G in one his functions.
-1
votes
0answers
23 views

Variable DPI (Inno Setup) [duplicate]

If I set the DPI setting to 100% in Windows, an option is not displayed in the installer, I set the DPI to 125%, I see it.How can I tell the installer that it should display everything, depending on ...
-1
votes
1answer
40 views

About reading file

while (not eof(inputFile)) do begin new(newNode); read(inputFile, newNode^.student.index); read(inputFile, temp); newNode^.student.forename :=''; read(inputFile, temp); ...
1
vote
2answers
93 views

Converting C strings to Pascal strings

When converting a C string into a Pascal string, why should the length of the original string be less or equal to 127 instead of 256? I understand that an unsigned int ranges from 0~256 and a signed ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,