When I was in high school, I took the one programming class that was offered. We had a nice computer lab with IBM PS/2s that ran on a Novell LAN. The class was taught in Pascal which I knew somewhat from running open source software called Forum for my BBS. Back in those days, LANs were a very new thing.
To save money, our teacher, Mr. Smith, installed the Borland Turbo Pascal 3.x compiler on the server. My guess is that he didn’t have to pay for more than one license that way. Or that he was supposed to pay for more licenses but just conveniently didn’t.