When referring to computer coding, would the correct verb spelling (in British English) be "to program" or "to programme"?

I already know that there are different spellings in British and US English for "programme". Usually, I refer to a computer program with the US spelling as all programming is done in US English, so it only seems appropriate.

But what about the verb? Do you program something or do you programme something in British English?


Solution 1:

In British English, the spelling program is used when referring to computer programs, but the spelling programme is used for all other purposes.

The following entry is taken from a reputable British dictionary1
(I have omitted the entries relating to non-computer meanings for the word):

programme or (N Amer) program
noun

5. (usually program) computing a set of coded instructions to a computer for the performance of a task or a series of operations, written in any of various programming languages.

verb (programmed, programming; N Amer also programed, programing)
3. to set (a computer) by program to perform a set of operations.
4. to prepare a program for a computer.

Note that this British dictionary uses the spelling program for all uses related to computing.