This would be child's play in any language, save GPSS or Prolog, I suppose. I'm not prejudiced. I use what's available. I like having a BASIC available for use in immediate mode. No compilation. It seems to me that there was a *batch* language based on C for Windows and DOS at one point. The name escapes me, but I'm sure I've used it. --Chuck