Sounds like HP Basic. HP really insulted their language by calling it BASIC. It had true independent variables in subroutines, IF/THEN/ELSE structure, etc. No real limit on the length of variable names. You could write some really good self-commenting code in that language. My boss at Tandem wrote a long program that would run our 10 meter RF semi-anechoic chamber and our OATS using that language. I had no trouble maintaining and upgrading that program over the next 10 years and even dropped in a year after I left the company and fixed a problem they had with it. And I recall that the old HP 9000 Model 500 (the first 32 bit microprocessor was used in it) compiled a line of BASIC the first time it saw it and then ran the compiled version afterwards. For 1983 that thing was FAST. HP tried to get me to stay in Colorado when I left Martin Marietta Denver Aerospace instead of moving to California to go to work for Tandem Computers because I was the one person in Colorado with experience with that new machine. It was really nice (for its day), but I'm glad I went to Tandem. Another story for another day.