| |
|
|
- Page 1 - |
|
Lefty | Kapiere I do not. is the solid so?
window 800,200
Declare tempo! tempo!=24.55 tempo!=Input$("Tempo","With Komma",tempo!) locate 3,7 print tempo! 'Nur ganzzahliger worth Why????? locate 5,7 print "Input$ shows only ganzzahligen share withal Float_Variabel! " locate 7,7 print " Please tempo with comma eingeben" Input tempo! ' is uncomfortably Eingabefenster would me rather locate 9,7 print "tempo with Komma",tempo! 'so goes it waitinput end
everything what can is simply The remainder a distress THX Lefty |
|
|
| |
|
|
|
« this Posting watts as Solution marked. » |
|
Jörg Sellmeyer | In this case is möglicherweise too the Info "Bitte with comma eingeben", the crucial Error. Floats must in Profan with a point indicated go.
this code functions anyway with X4.0 How desired.
in the Eingangspost becomes too yet the Error made, on Input$ a Floatvariable as default To transfer. the are then well a couple Anforderungen too much on whom Parser. |
|
|
| |
|
|
|
|
p.specht
| Cls var tempo!=2.55 tempo!=val(Input$("Tempo","With Komma",tempo!)) print tempo! WaitEnd |
|
|
| Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 03/09/20 ▲ |
|
|
|
|
Michael W. | time functions The automatic conversion and then again not.
The function Input$() shows through "$" already on, that here one String zurückgegeben becomes.
If the now of/ one Float-variables allocated becomes, then ought to The automatic conversion really everything zurecht back.
If the times not works, then help Val() and Str$() moreover.
Error or feature?! |
|
|
| |
|
|
|
p.specht
| interestingly is only, that var t$=22.555 var t!=t$ zero supply, during t!=Input$("","",t$) still 22 supply. I give Lefty right, that the unusual is. |
|
|
| Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 03/09/20 ▲ |
|
|
|
|
Lefty | Michael has unfortunately right. The automatic conversion isn't reliably. time goes, times not. I can the but unfortunately not understand. to that Happiness works it usually NOT, otherwise would I me well yet The hairs scuffle. OK, this is one Buck for Roland. either integrally on automatic transmission dispense, or reliably make .
now pragmatisch to Solution the trouble: I use fundamentally only another Stringvariable (Temp$)
Temp$=Input$("Tempo","With Komma",tempo!) and wandle then aimed circa tempo!=VAL(Temp$)
Have Yes now each crowd Time means head high and qualmen let Topic is Done Thanks Lefty |
|
|
| |
|
|
|
p.specht
| |
|
| Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 03/23/20 ▲ |
|
|
|
|
Jörg Sellmeyer | In this case is möglicherweise too the Info "Bitte with comma eingeben", the crucial Error. Floats must in Profan with a point indicated go.
this code functions anyway with X4.0 How desired.
in the Eingangspost becomes too yet the Error made, on Input$ a Floatvariable as default To transfer. the are then well a couple Anforderungen too much on whom Parser. |
|
|
| |
|
|