Post Reply 
Repeat Until
Yesterday, 01:11 PM
Post: #3
RE: Repeat Until
(Yesterday 12:44 PM)roadrunner Wrote:  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 - Yesterday, 11:31 AM
RE: Repeat Until - roadrunner - Yesterday, 12:44 PM
RE: Repeat Until - Onieh - Yesterday 01:11 PM
RE: Repeat Until - Onieh - Yesterday, 01:14 PM
RE: Repeat Until - Onieh - Yesterday, 01:17 PM



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