Die Hilfe:

Allows input from the keyboard during program execution.
Reads data from a file
Syntax

INPUT [" prompt" ] , var [ , varn ]
INPUT #ch, var [ , varn ]

Remarks

Prompt An optional string constant printed before the prompt character.
Var,varn A variable to accept the input value or a string.
Ch A channel number, which identifies an opened file. This can be a hard coded constant or a variable.
The INPUT routine can be used when you have an RS-232 interface on your uP.
The RS-232 interface can be connected to a serial communication port of your computer.
This way you can use a terminal emulator and the keyboard as an input device.
You can also use the built-in terminal emulator.

For usage with AVR-DOS file system, you can read variables from an opened file. Since these variables are stored in ASCII format, the data is converted to the proper format automaticly.

When you use INPUT with a file, the prompt is not supported.

Difference with QB
In QB you can specify &H with INPUT so QB will recognize that a hexadecimal string is being used.
Bascom implements a new statement : INPUTHEX.


----------------------


Super das sagt mir gar nichts!
Mein Englisch ist auch sehr schwach, darf man mir deshalb nicht helfen?


Du könntest mir helfen, indem du mir sagst, was ich bei meinem Code falsch mache.
Bekanntlich lernt man aus Fehlern...

Nochmal zu meinem Beispiel:

dim X as integer

input, X

Was ist daran bitte falsch?