Since version 6.90 I get an errormessage with the function (F)Polygon. Previous versions gave no problem.
It seems as though it cannot see the ArrayLists that fill the polygon. Exampleprogs attached. What happened?
Can someone help?
thnx,
Marc
In version c6.90 Polygon appears to only accept Arrays and structures of type String or Number/Double and not ArrayLists. I don't know if this is a deliberate design decision as a result of adding typed variables or an oversight but I am afraid you will need to use arrays instead of ArrayLists.
EDIT: - The constraint only exists in the IDE, compiled it is fine so I guess it's a bug.
Not sure if that is the problem because attached program (which calculates the fastest path down a track) designed with 6.90 from the start doesnot have this issue though it works with a polygon as well filled also by ArrayLists.
Marc
I can't see any calls to either of the Polygon methods in that code . However I have looked at the Basic4ppc IDE code for Polygon with Reflector and it does appear to have the limitation of only using arrays.
You're right. I forgot that I stripped the code and used multiple line segments. OK, I will try the array-approach. Funny though that is hasn't been noticed until now.
thanx for your time.
Marc
You're not the only one, I did a program update last night & face similar issue at the declaration before drawing line, seems like I need test out the array approach as well.