Compiling code. Error
Error compiling program.
Error description: Cannot cast type: {Type=Double,Rank=0} to: {Type=Double,Rank=1}
Occurred on line: 47
Pt1(0)=Pt0(0)+Dist*CosD(angDrs)
===============================
Has been resolved
Separator
Thank you very much answer
Error compiling program.
Error description: Cannot cast type: {Type=Double,Rank=0} to: {Type=Double,Rank=1}
Occurred on line: 47
Pt1(0)=Pt0(0)+Dist*CosD(angDrs)
===============================
Has been resolved
Separator
B4X:
Ptx(0)=px,Ptx(1)=py 'It should be ':' he was entered as ','
dist=Fun.distance(Pt0,Ptx)*1.5
Pt1=Fun.polar(Pt0,ang0,dist)
Last edited: