Re: Drawing a line in LC7

2015-03-02 Thread Richard Gaskin
Richmond wrote: Aha: so the 'Tip' now needs to be removed. I wonder exactly WHY the thing was changed? From the point of view of teaching & writing a book on Livecode, a Language-cum-IDE that keeps changing features like that (especially if those changes are left for folk to stumble on, rathe

Re: Drawing a line in LC7

2015-03-02 Thread Richard Gaskin
Graham Samuel wrote: > I hit this gotcha too a few months ago, as some ancient HyperCard > scripts were embedded in something I was adapting. On what objects did HyperCard apply points? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Drawing a line in LC7

2015-03-02 Thread Graham Samuel
You've confused me now... are you saying it wasn't HyperCard? The objects were all polygons, representing various mathematical curves. Didn't HyperCard allow vector-type polygons? If not, then it's a mystery which I don't think I can really resolve. Graham > On 2 Mar 2015, at 17:18, Richard Ga

Re: Drawing a line in LC7

2015-03-02 Thread Terence Heaford
I suppose in a way it is easy. Whenever you change something in the code, visit the documentation and change that as well or is changing the docs not in the job description of those carrying out the programming. If not it should be. If you do not change the docs and inform then what chance hav

Re: Drawing a line in LC7

2015-03-02 Thread Richard Gaskin
Graham Samuel wrote: > On 2 Mar 2015, at 17:18, Richard Gaskin wrote: >> Graham Samuel wrote: >> > I hit this gotcha too a few months ago, as some ancient HyperCard >> > scripts were embedded in something I was adapting. >> >> On what objects did HyperCard apply points? > > You've confused me now

Re: Drawing a line in LC7

2015-03-02 Thread Richmond
On 02/03/15 17:36, Terence Heaford wrote: This in the docs: "Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.” Terry Aha: so the 'Tip' now ne

Re: Drawing a line in LC7

2015-03-02 Thread Richmond
On 02/03/15 18:04, Terence Heaford wrote: I suppose in a way it is easy. Whenever you change something in the code, visit the documentation and change that as well or is changing the docs not in the job description of those carrying out the programming. Job Descriptions are the death of crea

Re: Drawing a line in LC7

2015-03-02 Thread Terence Heaford
This in the docs: "Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.” Terry > On 2 Mar 2015, at 14:19, Richmond wrote: > > So tried the "carria

Re: Drawing a line in LC7

2015-03-02 Thread Richmond
Sorry, boys and girls, I'm just a tad late to the party; couldn't locate my leopard-skin posing briefs . . . Anyway . . . LC 7.0.3 tried this in a button: on mouseUp drawline 0,100,100,400,red end mouseUp on drawLine x,y,x1,y1,tColor lock screen set the style of the templateGraphic t

Re: Drawing a line in LC7

2015-03-02 Thread Graham Samuel
I hit this gotcha too a few months ago, as some ancient HyperCard scripts were embedded in something I was adapting. I got the idea that the comma-separated list was never legal in LC but somehow tolerated; then suddenly not tolerated any more, then (according to the Dictionary) tolerated again.

Re: Drawing a line in LC7

2015-03-01 Thread Paul G
D*mn, checked 7 Geometry stacks and they no longer work because of this... At least I know why now. Appreciate the info -- thanks Richard. Paul -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-line-in-LC7-tp4689522p4689528.html Sent from the Revolution

Re: Drawing a line in LC7

2015-03-01 Thread Richard Gaskin
Ah - thanks. I haven't even seen a comma-only use of points since my old SuperCard days, so I didn't know LC supported that format. But since the docs says that form is supported, and it used to work in earlier versions, clearly it's a bug. I've submitted the report for you:

Re: Drawing a line in LC7

2015-03-01 Thread Terence Heaford
LC need to change the documentation. Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however. Makes life rather challenging & irritating. Thanks for you

Re: Drawing a line in LC7

2015-03-01 Thread Richard Gaskin
Terence Heaford wrote: > I use the following routine to draw lines for charts in LC 6.7.3 > > on drawLine x,y,x1,y1,tColor >lock screen >set the style of the templateGraphic to polygon >create grc in me >put the id of the last grc of me into tID >set the forecolor of grc id tI