Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
array of array of TPoint
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[SOLVED] progress dialog ...
by
Phoenix
[
Today
at 09:30:21 am]
Spin Casino CA 2025 | The...
by
IsaacExoms
[
Today
at 09:23:19 am]
I cannot save an unit on ...
by
Zvoni
[
Today
at 09:06:05 am]
Mapping Images Like Odome...
by
circular
[
Today
at 08:58:33 am]
Matching video to form
by
paweld
[
Today
at 08:44:46 am]
Introducing PasBuild 1.0....
by
Thaddy
[
Today
at 08:16:53 am]
Form adjusting to screen ...
by
RickSpink
[
Today
at 08:11:59 am]
fpsockets error: 10047
by
senglit
[
Today
at 04:18:59 am]
Amigo programming languag...
by
paxscript
[
Today
at 04:06:34 am]
Feature better than a new...
by
TBMan
[
Today
at 03:56:13 am]
Struggling with Orthello/...
by
TBMan
[
Today
at 03:45:06 am]
Any way to exclude terms ...
by
n7800
[
Today
at 12:59:05 am]
Just Curious: When has an...
by
n7800
[
Today
at 12:15:00 am]
Avoid system units debugg...
by
Martin_fr
[December 09, 2025, 11:40:00 pm]
Detect orphaned procedure...
by
Martin_fr
[December 09, 2025, 11:37:51 pm]
modern main menu
by
n7800
[December 09, 2025, 10:23:04 pm]
Is FPGUI still active?
by
Fred vS
[December 09, 2025, 09:29:08 pm]
Lazarus Bugfix Release 4...
by
Martin_fr
[December 09, 2025, 08:35:41 pm]
Hints in TTrayIcon
by
avra
[December 09, 2025, 07:01:02 pm]
Problem with TSQLQuery
by
sch61
[December 09, 2025, 05:15:38 pm]
What are some good modern...
by
sanric
[December 09, 2025, 04:46:09 pm]
First PythonForLazarus De...
by
fozkan
[December 09, 2025, 04:20:56 pm]
problem with zquery
by
Gebo
[December 09, 2025, 02:59:47 pm]
مشكلة في تنفيذ كودsql مع ...
by
Gebo
[December 09, 2025, 02:01:19 pm]
Probleme installing Lazar...
by
lelebass
[December 09, 2025, 01:12:03 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: array of array of TPoint (Read 668 times)
BubikolRamios
Sr. Member
Posts: 361
array of array of TPoint
«
on:
March 10, 2024, 09:21:42 pm »
What is that I don't see. Does not work.
Code: Pascal
[Select]
[+]
[-]
var
Points_Polybezier
:
array
of
array
of
TPoint
;
P1
:
TPoint
;
begin
setLength
(
Points_Polybezier
,
0
,
4
)
;
P1
:
=
Point
(
100
,
0
)
;
Points_Polybezier
[
0
]
[
0
]
.
x
:
=
3
;
Points_Polybezier
[
0
]
[
0
]
.
y
:
=
4
;
Points_Polybezier
[
0
]
[
0
]
:
=
P1
;
Points_Polybezier
[
0
]
[
1
]
:
=
Point
(
100
,
0
)
;
Points_Polybezier
[
0
]
[
2
]
:
=
Point
(
100
,
0
)
;
Points_Polybezier
[
0
]
[
3
]
:
=
Point
(
100
,
0
)
;
Logged
lazarus 3.2-fpc-3.2.2-win32/win64
Fibonacci
Hero Member
Posts: 788
Internal Error Hunter
Re: array of array of TPoint
«
Reply #1 on:
March 10, 2024, 09:23:22 pm »
SetLength to 0 might be a problem, change it to 1.
Logged
BubikolRamios
Sr. Member
Posts: 361
Re: array of array of TPoint
«
Reply #2 on:
March 10, 2024, 09:24:35 pm »
That was fast. Thanks.
Logged
lazarus 3.2-fpc-3.2.2-win32/win64
Thaddy
Hero Member
Posts: 18516
Here stood a man who saw the Elbe and jumped it.
Re: array of array of TPoint
«
Reply #3 on:
March 10, 2024, 09:26:01 pm »
Then 4 may be a problem too. Set it to 5
Logged
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.
PawelO
New Member
Posts: 28
Re: array of array of TPoint
«
Reply #4 on:
March 11, 2024, 01:28:20 am »
Indexes 0 to 3 are used, so length 4 is ok.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
array of array of TPoint
TinyPortal
© 2005-2018