Maximum number of LOCAL variables?
|
03-09-2014, 08:15 AM
Post: #4
|
|||
|
|||
RE: Maximum number of LOCAL variables?
Eried --
Thank you for the suggestion. Here are the lines I think are most likely to be giving the error: LOCAL pp, qq, xcor, pi, denom, height, num, xmode, maxheight,propheight, finalheight; [this is all on one line] many lines omitted // Plot the distribution: FOR X FROM 15 TO 303 STEP 1 DO xcor := (X-15)/288; num := (xcor^(pp-1))*((1-xcor)^(qq-1)); propheight := num/(denom*maxheight); finalheight := 160 - propheight*156; PIXON(X,finalheight); PIXON(X,(finalheight+1)); END; The above lines simply step through X-axis lines from 0 to 1 and plot the distribution of the y variable associated with X. If I comment these lines out, AND remove their variables from the LOCAL list, the syntax error stops appearing. Ben |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Maximum number of LOCAL variables? - Ben Fairbank - 03-09-2014, 06:48 AM
RE: Maximum number of LOCAL variables? - eried - 03-09-2014, 06:59 AM
RE: Maximum number of LOCAL variables? - patrice - 03-09-2014, 07:20 AM
RE: Maximum number of LOCAL variables? - Ben Fairbank - 03-09-2014 08:15 AM
RE: Maximum number of LOCAL variables? - eried - 03-09-2014, 11:47 AM
|
User(s) browsing this thread: 1 Guest(s)