What does the word assignment mean?

Usage examples for assignment

  1. There was some change in the assignment of batteries on April 5th. – From Fort Henry to Corinth by Manning Ferguson Force
  2. His admiration for Ford amounted to almost hero- worship; and he regarded an " assignment" with his chief as a joy and an honor. – The Lost House by Richard Harding Davis