| |
|
|
 maxilars | cls var single a = 4 var single b = 3 var single c = 2 var single e1 = 3*a + 4*b + 5*c var single e2 = 2*a + 5*b + 6*c var single e3 = 4*a + 2*b + 2*c print e1, e2, e3 ' alles 0.000000 waitinput end
' ersetze e1 durch ee1, e2 durch ee2 u. e3 durch ee3 ' hoppla jetzt geht's. ' wo liegt derFehler? Danke in Vorraus. |
|
|
| |
|
|
|
 Jörg Sellmeyer | |
|
| |
|
|
|
 RGH | In der nächsten XProfan-Version ist das Problem behoben!
Die bisherige Version interpretiert, wie eben auch Delphi, e1, e2 und e3 als die numerischen Literale 0e1, 0e2 und 0e3, die nun mal der Wert 0 haben! In XProfan darf künftig das "e" (oder "E") nicht an erster Stelle stehen.
Saluto Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 26.08.2017 ▲ |
|
|
|