Post Reply 
Repeat Until
09-19-2024, 12:44 PM
Post: #2
RE: Repeat Until
Two things i noticed:

First, M(I) is a string and kd is a float. That generates an error when compared in line 79.

Changing this:

UNTIL (M(I))>kd

to this:

UNTIL (EXPR(M(I)))>kd

will fix that.

Second, using reserved variables (like M and C) as strings or matrices is generally considered bad PPL programming practice. Doing that normally works fine, but is frond upon by some.

Hope this helps.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Repeat Until - Onieh - 09-19-2024, 11:31 AM
RE: Repeat Until - roadrunner - 09-19-2024 12:44 PM
RE: Repeat Until - Onieh - 09-19-2024, 01:11 PM
RE: Repeat Until - Onieh - 09-19-2024, 01:14 PM
RE: Repeat Until - Onieh - 09-19-2024, 01:17 PM
RE: Repeat Until - rprosperi - 09-21-2024, 04:44 AM



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