//下面是一记录,三维坐标
type
Tposition = record
x:integer;
y:integer;
z:integer;
end;//======下面是要在一个循环中动态地增加三维坐标数据的长度
//请问如何写会高效。
produce getposition(Sender: TObject)
varposition:array of record;begin
for i =A to B do
if k then
position增加一个C(xc,yc,zc)的数; //这里如何写?
end;
请大侠指点。谢谢!!
type
Tposition = record
x:integer;
y:integer;
z:integer;
end;//======下面是要在一个循环中动态地增加三维坐标数据的长度
//请问如何写会高效。
produce getposition(Sender: TObject)
varposition:array of record;begin
for i =A to B do
if k then
position增加一个C(xc,yc,zc)的数; //这里如何写?
end;
请大侠指点。谢谢!!
解决方案 »
- ShellExecuteEx打开相关应用程序,关闭慢
- delphi实现关机非关机
- 白给分,再线等
- 一个 Delphi 的群:13830859
- 请用触发器解决此问题,请附例程。。。
- 关于查询修改的问题
- 急,请问TFileStream的问题?
- Delphi7用Rave制作报表报错:Canvas does not allow drawing
- 如何让StringGrid自动换行
- 服务器端永datesetprovide和adostoreproc存储过程有三个参数a varchar(13) ,bfloat(16),c varchar(20) output请问我在客户端该怎么把a b传过去执行再把c传回来?
- Mainform 是什么窗口?怎么放到FORM1里?
- 带图请教~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``~~~~~~~~~~~~~~
每次都用setlength?
____________
SetLength(position, Length(position) + 1);
with position[Length(position) - 1] do
begin
x := xc;
y := yc;
z := zc;
end;