Post Reply 
TRIANGLE SOLVER
03-08-2022, 01:36 AM (This post was last modified: 03-08-2022 03:02 PM by BERNARD MICHAUD.)
Post: #3
RE: TRIANGLE SOLVER
(03-02-2022 07:59 PM)Tim Roche Wrote:  Bernard

Tried your triangle solver program on my win10 virtual calculator (2021 10 01) and my old (G1) prime (2021 12 02). In both instances the loaded program gives a syntax error on line 288. (I noticed your warning about extra characters at the tail of the program listing and checked.) There does not seem to be any error on line 288 that I discern.

Could you suggest what I might do to remedy this problem?

Tim


Line 288 should read:
Also Check variable Z1 to see if it is active.

286 IF mnu THEN MENU(); END;
287 //---------------------------------------------------
288 D:=√((X1-x2)^2+(Y1-y2)^2);Z1:=((X1+x2)/2,(Y1+Y2)/2);
289 Slp:=(Y2-Y1)/(X2-X1);θ:=ATAN(Slp);Int:=Y1-X1*Slp;
290 //---------------------------------------------------


328 EXPORT TRIANGLES()
329 BEGIN
330 2▶AFormat;
331 3▶ADigits;
332 MENU();
333 END; Odd characters will appear here This may not appear on Window version but it does on a Mac.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
TRIANGLE SOLVER - BERNARD MICHAUD - 01-17-2022, 08:15 PM
RE: TRIANGLE SOLVER - Tim Roche - 03-02-2022, 07:59 PM
RE: TRIANGLE SOLVER - BERNARD MICHAUD - 03-08-2022 01:36 AM
RE: TRIANGLE SOLVER - Tim Roche - 03-09-2022, 02:24 AM
RE: TRIANGLE SOLVER - BERNARD MICHAUD - 03-09-2022, 02:52 AM
RE: TRIANGLE SOLVER - Dougggg - 03-09-2022, 04:45 AM
RE: TRIANGLE SOLVER - Tim Roche - 03-09-2022, 06:47 AM
RE: TRIANGLE SOLVER - BERNARD MICHAUD - 03-09-2022, 01:40 PM



User(s) browsing this thread: 1 Guest(s)