Skip to content

Instantly share code, notes, and snippets.

@bostonaholic
Created November 17, 2011 21:26
Show Gist options
  • Save bostonaholic/1374586 to your computer and use it in GitHub Desktop.
Save bostonaholic/1374586 to your computer and use it in GitHub Desktop.
how to receive a refund, basically
000 SUB RECEIVE_REFUND
010 ASK POLITELY
020 IF REFUND = "YES" THEN
030 GOTO GOODBYE
040 ELSE
050 GOTO ASK_STERNLY
060 END IF
070 ASK_STERNLY:
080 ASK STERNLY
090 IF REFUND = "YES" THEN
100 ASK CUSTOMER SERVICE REP NAME 'THIS ENSURES THEY HOLD TO THEIR PROMISE
110 GOTO GOODBYE
120 ELSE
130 GOTO ASK_FOR_MANAGER
140 END IF
150 ASK_FOR_MANAGER:
160 ASK TO SPEAK WITH MANAGER
170 WHILE MANAGER == "NO": WAIT: WEND
180 ASK POLITELY
190 IF REFUND = "YES"
200 GOTO GOODBYE
210 ELSE
220 ASK STERNLY
230 IF REFUND = "YES"
240 GOTO GOODBYE
250 ELSE
260 'YOU WILL HAVE A REFUND AT THIS POINT
270 'THIS CAN NEVER BE REACHED
280 END IF
290 END IF
300 GOODBYE:
310 SAY "GOODBYE"
320 HANGUP
330 END SUB
@rdammkoehler
Copy link

err?
170 WHILE MANGER == "NO
180 WAIT
190 END WHILE

I'll be waiting forever? How about 180 REM ... 190 REM and 325 END or something :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment