SMS: BASIC programming