discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] A = A + 1;

AG
Adrian Grajdeanu
Tue, Feb 3, 2015 3:26 PM

Argh! You will have no peace! That's what i meant :).

-------- Original message --------
From: Adrian Grajdeanu adriang0@cox.net
Date:03/02/2015  10:20  (GMT-05:00)
To: OpenSCAD general discussion discuss@lists.openscad.org
Cc:
Subject: Re: [OpenSCAD] A = A + 1;

If this were an equation, you'd be right. But it isn't an equation. It is have noan assignment. If you continue to support a paradigm that runs counter to people's expectation, you will have no piece.

-------- Original message --------
From: Bananapeel lunatica.xiaoyu@gmail.com
Date:03/02/2015 07:25 (GMT-05:00)
To: discuss@lists.openscad.org
Cc:
Subject: Re: [OpenSCAD] A = A + 1;

You don't. An OpenSCAD program is like a big math equation. x = x + 1 is
illegal because x can't have two values at once.

--
View this message in context: http://forum.openscad.org/A-A-1-tp11385p11386.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Argh! You will have no peace! That's what i meant :). -------- Original message -------- From: Adrian Grajdeanu <adriang0@cox.net> Date:03/02/2015 10:20 (GMT-05:00) To: OpenSCAD general discussion <discuss@lists.openscad.org> Cc: Subject: Re: [OpenSCAD] A = A + 1; If this were an equation, you'd be right. But it isn't an equation. It is have noan assignment. If you continue to support a paradigm that runs counter to people's expectation, you will have no piece. -------- Original message -------- From: Bananapeel <lunatica.xiaoyu@gmail.com> Date:03/02/2015 07:25 (GMT-05:00) To: discuss@lists.openscad.org Cc: Subject: Re: [OpenSCAD] A = A + 1; You don't. An OpenSCAD program is like a big math equation. x = x + 1 is illegal because x can't have two values at once. -- View this message in context: http://forum.openscad.org/A-A-1-tp11385p11386.html Sent from the OpenSCAD mailing list archive at Nabble.com. _______________________________________________ OpenSCAD mailing list Discuss@lists.openscad.org http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
M
Michele
Tue, Feb 3, 2015 3:56 PM

Well exactly.  It sure looks like a programming language to me.  It has
everything you find in a programming language, including comments, semicolon
delimiters, functions, all the tschotschkes you find in a programming
language.  Except variables.  Unless you're running a loop, in which case
you do get variables.

Ehhh???

And we all know that a = a + 1 is because keypunches didn't have a
left-arrow key.  Some languages like APL and SAIL do use the left arrow to
please the mathematicians in the audience.  All I know is that Openscad
should offer real variables.  Apparently I wasn't the only one to get caught
by this.

--
View this message in context: http://forum.openscad.org/A-A-1-tp11385p11393.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Well exactly. It sure looks like a programming language to me. It has everything you find in a programming language, including comments, semicolon delimiters, functions, all the tschotschkes you find in a programming language. Except variables. Unless you're running a loop, in which case you do get variables. Ehhh??? And we all know that a = a + 1 is because keypunches didn't have a left-arrow key. Some languages like APL and SAIL do use the left arrow to please the mathematicians in the audience. All I know is that Openscad should offer real variables. Apparently I wasn't the only one to get caught by this. -- View this message in context: http://forum.openscad.org/A-A-1-tp11385p11393.html Sent from the OpenSCAD mailing list archive at Nabble.com.