Ok, well, we've passed the "my code won't run" phase. But I really do have a question now that pertains more about how the language works.
Here's my code: link turtle link graphics procedure main() f := open("testing.txt", "w") &window := WOpen("size = 400, 400") write(f, "before drawing, x is ",TX(), " y is ", TY()) FillCircle(150, 150, 100) WriteImage("filled-circle.gif") end & here's my output: before drawing, x is 320.5 y is 96.5 My question is this--my understanding is that I have opened a window sized 400x400. My understanding is also that THome() puts the turtle at the center of the screen, facing north or -90 degrees. Now, I am by no means a math genius--truthfully, I suck at it--but my expectation is that a window of 400x400 would have a center at 200,200, +/- a pixel or so. That should make my center at 200,200, (I think THome() adds .5, so that would make it 200.5 for both x & y. So why is my x coordinate 320.5 & my y 96.5? I am really confused now. I really think it's crucial that I understand what's going on here, because w/o it I can't place things accurately--that is in fact already an issue. Any help appreciated. Sorry for the newbie questions. -- Blame the computer--why not? It can't defend itself & occasionally might even be the culprit Jackie McBride Jaws Scripting training materials: www.screenreaderscripting.com homePage: www.abletec.serverheaven.net ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group