Past Perfect Continuous
Similarly to the Past Perfect, the Past Perfect Continuous talks about an activity that started in the past and ended when another event occurred in the past. This tense emphasizes the duration of that activity. In the Past Perfect Continuous, we use the present participle (verb-ing).
Affirmative sentences in Past Perfect Continuous
We form sentences by using the auxiliary verb had, the Past Participle form of to be (been), and the main verb in the present participle.
Subject + had + been + verb-ing + the rest of the sentence
Negative sentences in Past Perfect Continuous
We form negative sentences by adding not after had.
Subject + had + not + been + verb-ing + the rest of the sentence
Questions in Past Perfect Continuous
Questions in Past Perfect Continuous are formed by inversion of had.
Had + subject + been + verb-ing + the rest of the sentence
The Usage of Past Perfect Continuous
We use the Past Perfect Continuous to talk about:
John had been studying English for three years before he moved to the USA last winter.
We were very hungry because we had been exploring the city without taking a break.
I would have been a lawyer if I had been studying seriously in school.