Hi, Lugo

let's suppose your button B is active LOW

Code:
DEFINE BUTTON_PAUSE 250

.
.
.

FOR I = 1 to 8 

   Delay = 0                                ' reset check time
   BUTTON B,0,255,0,Delay,1, Incr          ' Check if button pressed for 250 ms , IF yes, increment I and recheck
   GOTO Main                              ' If not jump to main

   Incr:
NEXT I                                    ' If checked 8 times we enter Setup routine

Setup_routine :
.
.
.
.
Main :
.
.
Note there's NO DELAY to enter main routine if button hasn't been pressed ... either test will be left as soon as button is released ...

Alain