Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
16
Task/Menu/ERRE/menu.erre
Normal file
16
Task/Menu/ERRE/menu.erre
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
PROCEDURE Selection(choices$[],prompt$->sel$)
|
||||
IF UBOUND(choices$,1)-LBOUND(choices$,1)=0 THEN
|
||||
sel$=""
|
||||
EXIT PROCEDURE
|
||||
END IF
|
||||
ret$=""
|
||||
REPEAT
|
||||
FOR i=LBOUND(choices$,1) TO UBOUND(choices$,1) DO
|
||||
PRINT(i;": ";choices$[i])
|
||||
END FOR
|
||||
PRINT(prompt$;)
|
||||
INPUT(index)
|
||||
IF index<=UBOUND(choices$,1) AND index>=LBOUND(choices$,1) THEN ret$=choices$[index] END IF
|
||||
UNTIL ret$<>""
|
||||
sel$=ret$
|
||||
END PROCEDURE
|
||||
Loading…
Add table
Add a link
Reference in a new issue