Questions tagged as 'pascal'

0
answers

Specific connection of a TCPServer Lazarus

I have a TIdTCPServer on the form, and I want to send a message to a specific server client, but I do not even think of a list of sockets attached to the server.    Indy Version 10.6.2.0   Lazarus 1.8.0 I need help please .     
asked by 24.01.2018 / 00:48
1
answer

Insertion sort in pascal

I have to implement the insert sorting method in Pascal. The problem is that in my algorithm I'm having to do multiple if s. One for every possibility. I wonder if there is a better way to do this. My code: Program insertion_...
asked by 08.11.2017 / 19:26
1
answer

Fast Reports tools do not appear on tool palette

I'm using Delphi-XE8 in a project that requires the creation of forms from DB (FireDac) data, before my team used the Delphi-XE4 version, which used the external Rave Reports from Nevrona, but it is not compatible with the version we will use...
asked by 11.08.2017 / 19:05
2
answers

Lazarus comparing Dates

In the data collector I can configure the Data format, but I want to do this setting inside my application, I am trying to do it as follows: FormatSettings.ShortDateFormat := 'dd-mm-yy'; ShowMessage(QueryTesteDT_PALLET.Text); // Resultado: '06...
asked by 06.07.2017 / 21:29
0
answers

How to delete elements of a record vector in Pascal

I am doing a pro-course work, and every time a person types a value of an index of the element of the registry vector, all the data in it is deleted, would that be possible? If so, how do I do it?     
asked by 16.06.2016 / 08:46
1
answer

Receive character in C

How do I make a function in C that is equal to the function Readkey of Pascal or equal to function Lastkey of old Clipper ? I want to receive only one character for each key pressed. Create menus, receive ESC...
asked by 13.01.2016 / 21:12
0
answers

Color in Pascal / C

I have the following region staining code using Pascal queue: program coloracao; uses crt, filas; const dim = 5; type imagem = array [0...dim+1, 0...dim+1] of integer; const I: imagem = ((-1, -1, -1, -1, -1, -1, -1), (-1, 2...
asked by 04.06.2015 / 15:39
1
answer

EclipseGavab: error while compiling .pas file

I installed Freepascal 32bits and I installed Eclipse Gavab 32bits But it is giving error! Any suggestions?     
asked by 14.07.2015 / 05:08
1
answer

How to create a Canvas object in Lazarus and add it to a PaintBox?

In a Form I have a Paintbox with property Align = alClient and a Button . I need to draw a Canvas object within Paintbox in the Button OnCLick event . This is the Canvas object to create: const IconSize:Integer = 10 type...
asked by 26.03.2015 / 09:55
1
answer

How to print the first 12 terms of the Fibonacci sequence inverse in Pascal?

How to print the first 12 terms of the Fibonacci sequence inverse in Pascal? Instead of being 1 to 12, from 12 to 1 program Exercicio_31; var V:array[3..12]of integer;I,termo1,termo2,novoTermo:integer; begin writeln('Serie de Fibonacc...
asked by 15.02.2017 / 15:59