Part 1
Introductory
Interpretation: Application: General Principles
Chapter 1
Interpretation
4. When a person, intending to commit an offence, begins to put his intention into execution by means adapted to its fulfilment, and manifests his intention by some overt act, but does not fulfil his intention to such an extent as to commit the offence, he is said to attempt to commit the offence.
It is immaterial, except so far as regards punishment, whether the offender does all that is necessary on his part for completing the Commission of the offence, or whether the complete fulfilment of his intention is prevented by circumstances independent of his will, or whether he desists of his own motion from the further Prosecution of his intention.
It is immaterial that by reason of circumstances not known to the offender it is impossible in fact to commit the offence.
The same facts may constitute one offence and an attempt to commit another offence.
EDIT.