02-14-2006, 11:00 PM
Hello this is part of my program i have used the menu list a couple of time throught the program
IF selection = 1 THEN CALL CONVGBP
IF selection = 2 THEN CALL AUDGBP
IF selection = 3 THEN CALL CADGBP
IF selection = 4 THEN CALL NZDGBP
IF selection = 5 THEN CALL USDGBP
IF selection = 6 THEN CALL EURGBP
IF selection = 7 THEN CALL ENDOFDAY
IF selection >= 8 THEN
ELSEIF selection <= 0 THEN
it all works fine what i would like help on please is on who do i display an error message if user accidently presses a letter key have been advised to use CHR$ but cant make it work
IF selection = 1 THEN CALL CONVGBP
IF selection = 2 THEN CALL AUDGBP
IF selection = 3 THEN CALL CADGBP
IF selection = 4 THEN CALL NZDGBP
IF selection = 5 THEN CALL USDGBP
IF selection = 6 THEN CALL EURGBP
IF selection = 7 THEN CALL ENDOFDAY
IF selection >= 8 THEN
ELSEIF selection <= 0 THEN
it all works fine what i would like help on please is on who do i display an error message if user accidently presses a letter key have been advised to use CHR$ but cant make it work