Category "pascal"

Why does my camera ray have an offset when clicking near the edges of the viewport?

I'm working on a 3D project in OpenGL. Picking objects is my thing to worry about, but right now I can't get the main thing working. Which is casting a ray from

Fatal: Cannot open file. Error: ppcx64.exe returned an error code

My code and Visual Studio Code's error message: Why in Visual Studio Code I can't compile Pascal file but it working properly on FPC IDE or Sublime Text 4 with

Get all dates within a date range

If I have a given date range (DateFrom and DateTo), how can I get all the dates within the date range?

How to set TGridLayout Height based off amount of items in grid

How does one set the height of A TGridLayout to be set based off the amount of items in the grid ? I have a grid with products in it which the user can purchase

Delphi, linking database stored on onedrive

I would like to connect my ado connection to a database stored on onedrive so after the development of my application... It can be distributed to multiple users

Pascal 'Split' Function

I am coding a little program in pascal and I have run into a small problem. In other languages there is a function named 'split' or 'explode' to take a long str

Pascal beginner program

Program q2; Var input: integer ; Var repeatvar: char ; Procedure display(input : integer) ; Begin If (input = 9) then Write ('***********************