Proposals for the subsidy of a telegraph line to California were made in Congress throughout the 1850s, and in 1860 the U.S. Post Office was authorized to spend $40,000 per year to build and maintain an overland line. The year before, the California State Legislature had authorized a similar subsidy of $6,000 per year.
Click OK on the dialogue box and your text is centred. That's the long way round. Clicking the centre icon on the toolbar is much easier - it's a very useful Macro built in to Microsoft Word. A Macro is a way to create a shortcut for a task that you do a lot. You can create your own macros. The macro we're going to create in the next section is a very simple one, but macros don't have to be simple. You can open up the Visual Basic editor and create a very complex macro indeed.
3 Macros. A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro. There are two kinds of macros. They differ mostly in what they look like when they are used. Object-like macros resemble data objects when used, function-like macros resemble function calls. You may define any valid identifier as a macro, even if it is a C keyword. The preprocessor does not know anything about keywords. This can be useful if you wish to hide a keyword such as const from an older compiler that does not understand it. However, the preprocessor operator defined (see Defined) can never be defined as a macro, and C++âs named operators (see C++ Named Operators) cannot be macros when you are compiling C++.