Re,Erreur de ma part

im num As Integernum% = CInt(InputBox$("How many do you want?"))Messagebox num%Voici l'aide

isplays a dialog box containing a prompt for user entry, and returns input from the user as a string.Syntax InputBox[$] ( prompt [ , [ title ] [ , [ default ] [ , xpos , ypos ] ] ] )ElementspromptA string expression. This is the message displayed in the dialog box. prompt can be up to 128 characters in length.titleOptional. A string expression. This is displayed in the title bar of the dialog box. title can be up to 128 characters in length.If you omit title, nothing is displayed in the title bar. If you omit title and specify either default or xpos and ypos, include a comma in place of title.defaultOptional. A string expression. This is displayed in the text entry field in the dialog box as the default user response. default can be up to 512 characters in length.If you omit default, the text input box is empty. If you omit default and specify xpos and ypos, include a comma in place of default.xposOptional. A numeric expression that specifies the horizontal distance, in units of 1 pixel, between the left edge of the dialog box and the left edge of the display screen. If you omit xpos, the distance is 0. If you specify xpos, you have to specify ypos as well.yposOptional. A numeric expression that specifies the vertical distance, in units of 1 pixel, between the top edge of the dialog box and the top edge of the screen. If you omit ypos, the distance is 0. If you specify ypos, you have to specify xpos as well.Return valueThe InputBox function returns a Variant containing a string. InputBox$ returns a String.UsageInputBox displays a dialog box with OK and Cancel buttons and a text entry field, interrupting execution of the script until the user confirms the text entry by clicking OK or Cancel. Then InputBox returns that entry. If the user clicks Cancel, InputBox returns the empty string (""). When the user clicks OK or Cancel, execution resumes.The Lotus product where you are running LotusScript may allow longer strings than described above for prompt, title, default, and the text entered into the text entry field. LotusScript will support longer strings for these items if the Lotus product does, up to 16000 characters.If you are using LotusScript from within Lotus Notes, note that the InputBox function writes to:A dialog box when executing on a Notes client. The user clicks OK, Cancel, Abort, Retry, Yes, or No to continue.NOTES.LOG when executing on a Domino server.[%sig%]