The method you'll need to scan a document on a Mac depends on what kind of scanner you have. Here's how to set up nearly any scanner on a Mac.
The simplest way to think about SCAN is that it applies a custom calculation to each element in a range/array and returns every intermediate result it produces along the way. If that sounds abstract, ...