>>In scool and university the notation was
>>
>>-24
>>---*(-2)=(-24/4)*(-2)
>> 4
>>*or the other way
>>-24
>>---- = -24/(4*(-2))
>>4*-2
>>
>>
>
>You wrong. There is should be an extra parenthesis for classical math.
Which formula do you mean exactly?
Update:
I've read your other messages
I just pointed out that
we always have used the multi line version of formulas.
And that this can only can be(-24/4)*(-2) = -24/4*(-2) if there is no additional parenthesis. (Classical math says nowhere that you have to have those parenthesis, or least as far as I remember. But this may be weak, since we always have done multi lines and the one line syntax started if comps and there we've allways check for parenthesis)
I would prefer parenthesis ot normal (multi line) representation.
>
>>If you use a programming language the result depends on the definitions.
>
>I know all programming langugaes go by left-to-right. I never heard a language depends on the definitions?
?? You know BASIC? And the differnce between MS Basic VB or Basic on a C64? Isn't it how it is DEFINED?
To me, it depend on the definition only. If there would be syntax definition how would you write a prog? Definiton of any (human or comp) language makes the differnce between noise and information.
Also that something is unusual does not mean impossible.
See what one can do with and
:
http://en.wikipedia.org/wiki/Whitespace_(programming_language)Also if VFP would not define that it would stop a formula if the reult is fixed (.F. AND expression will not run expression) a lot of my progs would need to be reprogrammed. See the differences of CASE in VFP and C or Pascal. This is the definition of the language.
Agnes
Update 2
See message#
1367358
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]