Functions as commands (was Re: class proposal 2)
Serge Orlov <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Mark Hahn wrote: > Serge Orlov wrote: >> Nice to see you decided to clean up what have been done during last >> months. It's impossible to do everything right since the beginning, >> but you still have time to correct before it will become a regret >> and it will be hard to correct or remove. I'm sure there is still >> something in the language you will regret in the future but we >> don't see it yet. > See reply at: http://prothon.org/wiki?pagename=InitReturnValue I have also tripped over function as a command feature, notice the different results. Prothon result was unexpected Prothon 0.1 Interactive Console, Build 678, Jun 29 2004 (Ctrl-D to exit) O>> print (8 + 1) + 8 9 9 8 O>> Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print (8 + 1) + 8 17 >>> -- Serge