Punctuation in SAS Programming John Morrill, Quintiles, Inc., Kansas City, MO George Li, Quintiles, Inc., Kansas City, MO

Total Page:16

File Type:pdf, Size:1020Kb

Punctuation in SAS Programming John Morrill, Quintiles, Inc., Kansas City, MO George Li, Quintiles, Inc., Kansas City, MO Punctuation in SAS Programming John Morrill, Quintiles, Inc., Kansas City, MO George Li, Quintiles, Inc., Kansas City, MO ABSTRACT in that they mask special characters during It's the little things that get you! Punctuation is compilation of a macro. %STR, for example, is often relegated to less than even a second useful for treating a semicolon as text rather than thought, only to be considered when an error part of a statement or when dealing with exists. It is our contention that a systematic unbalanced quotation marks or parentheses. An review of punctuation in SAS programming yields example of this is found when defining a macro for even experienced users a number of variable containing a possessive: %let interesting tidbits and valuable efficiencies. In a=%str(Ed%'s ball);. SAS Help gives the this paper we first briefly identify the common following example showing how to maintain a uses of several type of punctuation. Then from blank as a blank in counting words: %let the less obvious uses we found during our word=%qscan(&string,&count,%str( ));. search, we present the cases most likely to (There is a space within the %str parentheses.) increase efficiency or provide new functionality. Examples of coverage include the when and why A second observation regarding working with of single versus double punctuation marks (e.g., punctuation involves noting that differences in the semi-colon, the period, the question mark, the punctuation usage exist between the SAS SQL exclamation mark, the @ sign, and the pipe) procedure and the SAS Data Step. SAS SQL including a discussion of macro processing, a can have efficiencies over the Data Step, but review of punctuation usage differences between since SQL existed outside of SAS previous to SQL and traditional SAS code, and some version 6.06 its conventions are different from interesting notes on the underscore character. traditional SAS code. These differences show up even in punctuation usage. The comma is INTRODUCTION required as a variable name separator in SQL Programmers may be an odd lot, but even we statements such as SELECT and ORDER BY yet don't normally sit around pondering punctuation. it is optional in the corresponding Data Step. And That is why a systematic review of punctuation of course the semicolon is widely used in the used in SAS programming may yield some data step for each statement, but you may see interesting tidbits. In this paper we make some only one semicolon in the whole SQL code if general observations on punctuation. Then, by there is only one SELECT or CREATE statement. punctuation type, we briefly mention obvious We now move on to a look at each special uses and give examples of less routine uses character. where appropriate. Where appropriate, we discuss double punctuation and equivalent uses. We focus on uses applicable to batch AMPERSAND (&) programming and leave out uses from the The ampersand is most readily known as part of interactive world and specialized procedures a reference to a macro variable. The ampersand such as SAS/ACCESS, AF, and FSP. Also, we substitutes for the logical AND in multiple have included several special characters that are conditions, for example, if var1=1 & not generally grouped into the punctuation var2='Y';. The ampersand also has a special category. use in the INPUT statement, indicating that a character value may have one or more single It sounds funny to refer to "working with embedded blanks. Two or more ampersands punctuation" in the same way that we would used next to each other indicate that multiple "work with lab data" or "work with macros." passes will be made to fully resolve the macro Nonetheless, before presenting details for each variable. For example, if we define punctuation type, we make two observations about working with punctuation. First, macro %let indic1=3; quoting functions such as %STR, %NRSTR, %let indic2=4; %QUOTE, %NRQUOTE, %BQUOTE, %let drug_3=drug_c; %NRBQUOTE, and %SUPERQ are quite useful %let drug_4=drug_d; then we can make reference to &&drug_&indic1 datasets in macro calls, for example, proc and &&drug_&indic2 with multiple passes datasets; delete _:;. The colon is rarely a resolving to suit our needs. After one pass, these synonym of a hyphen and functions in the become &drug_3 and &drug_4, respectively. creation of macro variables in SQL. ASTERISK (*) COMMA (,) Besides serving as the multiplication operator, The comma separates arguments in a function, the asterisk is found in various places to indicate values in the DO and IN statements, and interactions or cross-classification (such as the parameters in macro calls. For the IN statement, TABLES statement in PROC FREQ) and in commas are optional unless used in SQL where indicating the number of times to repeat a they are required. Commas are often used as character string (as in PROC REPORT). It is delimiters in data files (CSV stands for comma used to comment statements alone or in separated values). Special informats and conjunction with the slash (/* … */) or the percent formats (e.g., comma7.) exist for inputting and sign (%*). The asterisk also compels SAS to outputting values with commas separating the determine an array subscript by counting the thousands, for example. Double commas are number of variables in the array. Two asterisks often seen in ordered macro calls where at least indicate the exponentiation operator. one parameter is left blank to allow the default parameter to be used. Finally, the comma is AT SIGN (@) useful in specifying an irregular iteration pattern The at sign is used for column pointer control in in a do loop: do i=1 to 4, 7, 9, 20; and the INPUT and PUT statements. As line-hold can be used to delimit character values in a do specifiers, both the single trailing @ and double loop such as do=’MON’, ‘WED’, ‘SAT’;. trailing @ indicate that a data line should be held EQUAL SIGN (=) for another INPUT or PUT statement, even Besides the equality operator, the equal sign is across iterations of the DATA steps. also used to assign values. BLANK ( ) EXCLAMATION MARK (!) No discussion of special characters would be The exclamation mark is sometimes a synonym complete without mention of the blank, also for the pipe (|) and is sometimes called a bang. It known as the space. It is the ultimate separator is used in concatenation and as the logical OR. and functions as a delimiter in place of a comma In some instances it is automatically defined as in many instances. For example, if var1 in SAS root and is used in path/directory (2 3 4); is equivalent to if var1 in expressions. See PIPE for further details. (2,3,4);. The blank is the only character that multiple occurrences is universally fine if one HYPHEN (-) occurrence is fine, excepting quoted text. The hyphen is sometimes equivalent to a slash and is sometimes called a dash. Of course it is a CARET (^) minus sign when used as an operator, and can The caret is a synonym for the operator NOT and be used to refer to similarly named variables in a is used in conjunction with the equal sign such sequence (e.g., x1-x8). Note that this feature that ^= is equivalent to NE to mean "not equal to." does not work with dataset names. The hyphen COLON (:) is used for pointer control in an INPUT and PUT An excellent review of the colon (Luo, 2001) will statement when the pointer should be backed up not be completely repeated here. Perhaps the a relative number of columns. The hyphen is a simplest feature that is mentioned in this prefix operator, in this case used in conjunction reference has the most widespread use: the with parentheses: x=-(&val1). variable name wildcard function. PROC PRINT; VAR x:; will print all variables At times one may wish to override a character beginning with x. This feature is also useful such as the hyphen where it appears in certain when dropping, keeping, and summing similar output. The formchar option can to this. An variables. This works with datasets as well and example that changes the default lines used in is useful, for example, in deleting temporary common PROC REPORT or PROC TABULATE output is options formchar=’|_---|+|---+=|-/<>*’; PERIOD (.) The period is, of course, commonly seen in The question mark can also be a format modifier numeric data as the decimal placeholder, though used to suppress error messages in the log as the convention in many countries is to use the the following log illustrates. This is not to be comma for this purpose. It is also the default confused with the nofmterr option which indicator of missing numeric values, though this suppresses errors if a requested format is not can be altered in an options statement. The loaded. period must be used when specifying informats and formats and is also used as a delimiter in 1 data test1; pathnames. Double periods are often used with 2 rawdate='02/29/2002'; macro variables. For example, in proc sort 3 date1=input(rawdate, mmddyy10.); data=&lib..demog; the first period designates the 4 run; end of the macro variable &lib while the second period separates the library name from the NOTE: Invalid argument to function member name demog. Two important variables INPUT at line 3 column 9. specified with a period are created automatically rawdate=02/29/2002 date1=. _ERROR_=1 in a dataset in conjunction with a by statement: _N_=1 first.ByVariableName and last.ByVariableName. NOTE: Mathematical operations could These enable a great deal of useful processing not be performed at the following based on an observation being the first or last of places.
Recommended publications
  • Jupyter Reference Guide
    – 1 – Nicholas Bowman, Sonja Johnson-Yu, Kylie Jue Handout #15 CS 106AP August 5, 2019 Jupyter Reference Guide This handout goes over the basics of Jupyter notebooks, including how to install Jupyter, launch a notebook, and run its cells. Jupyter notebooks are a common tool used across different disciplines for exploring and displaying data, and they also make great interactive explanatory tools. Installing Jupyter To install Jupyter, run the following command inside your Terminal (replace python3 with ​ py if you’re using a Windows device): ​ $ python3 -m pip install jupyter Launching a notebook A Jupyter notebook is a file that ends in the extension .ipynb, which stands for ​ ​ “interactive Python notebook.” To launch a Python notebook after you’ve installed ​ ​ ​ ​ ​ ​ ​ ​ Jupyter, you should first navigate to the directory where your notebook is located (you’ll be there by default if you’re using the PyCharm terminal inside a project). Then run the following command inside your Terminal (if this doesn’t work, see the “Troubleshooting” section below): $ jupyter notebook This should open a window in your browser (Chrome, Firefox, Safari, Edge, etc.) that looks like Figure 1. Jupyter shows the files inside the current directory and allows you to click on any Python notebook files within that folder. Figure 1: After running the jupyter notebook command, you should see a window that ​ ​ ​ lists the Python notebooks inside the current directory from which you ran the command. The picture above shows the Lecture 25 directory. – 2 – To launch a particular notebook, click on its file name. This should open a new tab with the notebook.
    [Show full text]
  • AMPERSAND an International Journal of General and Applied Linguistics
    AMPERSAND An International Journal of General and Applied Linguistics AUTHOR INFORMATION PACK TABLE OF CONTENTS XXX . • Description p.1 • Abstracting and Indexing p.2 • Editorial Board p.2 • Guide for Authors p.4 ISSN: 2215-0390 DESCRIPTION . Serving the breadth of the general and applied linguistics communities, Ampersand offers a highly- visible, open-access home for authors. An international, peer-reviewed journal, Ampersand welcomes submissions in applied and historical linguistics, phonetics, phonology, pragmatics, semantics, sociolinguistics and syntax. Ampersand provides authors with an open-access venue to disseminate a wide range of linguistic research in an equally wide range of formats, prioritizing rapid peer review and publication so that researchers can share their work in its most current and innovative form. In response to the global thrust toward open source, open data and open access in science, Ampersand offers the opportunity for authors to make their research freely available to everyone, opening their work to a wider audience and increased readership. Ampersand caters to a comprehensive audience, ranging from language researchers, linguists, teachers, educationalists, practitioners to those with a general interest in language and linguistics. The journal aims to encourage the free exchange of information between researchers by being a forum for the constructive discussion and debate of issues in both theoretical and applied research. The journal welcomes all types of submission format: traditional 'full' research articles, short communications, opinion pieces, book reviews, case studies and literature reviews. Ampersand also offers the opportunity to publish special issues or sections to reflect current interest and research in topical or developing areas. The journal fully supports authors wanting to present their research in an innovative fashion through the use of modern multimedia in the award-winning 'article of the future' format on ScienceDirect?.
    [Show full text]
  • Tilde-Arrow-Out (~→O)
    Chapter 5: Derivations in Sentential Logic 181 atomic). In the next example, the disjunction is complex (its disjuncts are not atomic). Example 2 (1) (P ´ Q) → (P & Q) Pr (2) •: (P & Q) ∨ (~P & ~Q) ID (3) |~[(P & Q) ∨ (~P & ~Q)] As (4) |•: ¸ DD (5) ||~(P & Q) 3,~∨O (6) ||~(~P & ~Q) 3,~∨O (7) ||~(P ∨ Q) 1,5,→O (8) ||~P 7,~∨O (9) ||~Q 7,~∨O (10) ||~P & ~Q 8,9,&I (11) ||¸ 6,10,¸I The basic strategy is exactly like the previous problem. The only difference is that the formulas are more complex. 13. FURTHER RULES In the previous section, we added the rule ~∨O to our list of inference rules. Although it is not strictly required, it does make a number of derivations much easier. In the present section, for the sake of symmetry, we add corresponding rules for the remaining two-place connectives; specifically, we add ~&O, ~→O, and ~↔O. That way, we have a rule for handling any negated molecular formula. Also, we add one more rule that is sometimes useful, the Rule of Repetition. The additional negation rules are given as follows. Tilde-Ampersand-Out (~&O) ~(d & e) ––––––––– d → ~e Tilde-Arrow-Out (~→O) ~(d → f) –––––––––– d & ~f 182 Hardegree, Symbolic Logic Tilde-Double-Arrow-Out (~±O) ~(d ± e) –––––––––– ~d ± e The reader is urged to verify that these are all valid argument forms of sentential logic. There are other valid forms that could serve equally well as the rules in question. The choice is to a certain arbitrary. The advantage of the particular choice becomes more apparent in a later chapter on predicate logic.
    [Show full text]
  • Edit Bibliographic Records
    OCLC Connexion Browser Guides Edit Bibliographic Records Last updated: May 2014 6565 Kilgour Place, Dublin, OH 43017-3395 www.oclc.org Revision History Date Section title Description of changes May 2014 All Updated information on how to open the diacritic window. The shortcut key is no longer available. May 2006 1. Edit record: basics Minor updates. 5. Insert diacritics Revised to update list of bar syntax character codes to reflect and special changes in character names and to add newly supported characters characters. November 2006 1. Edit record: basics Minor updates. 2. Editing Added information on guided editing for fields 541 and 583, techniques, template commonly used when cataloging archival materials. view December 2006 1. Edit record: basics Updated to add information about display of WorldCat records that contain non-Latin scripts.. May 2007 4. Validate record Revised to document change in default validation level from None to Structure. February 2012 2 Editing techniques, Series added entry fields 800, 810, 811, 830 can now be used to template view insert data from a “cited” record for a related series item. Removed “and DDC” from Control All commands. DDC numbers are no longer controlled in Connexion. April 2012 2. Editing New section on how to use the prototype OCLC Classify service. techniques, template view September 2012 All Removed all references to Pathfinder. February 2013 All Removed all references to Heritage Printed Book. April 2013 All Removed all references to Chinese Name Authority © 2014 OCLC Online Computer Library Center, Inc. 6565 Kilgour Place Dublin, OH 43017-3395 USA The following OCLC product, service and business names are trademarks or service marks of OCLC, Inc.: CatExpress, Connexion, DDC, Dewey, Dewey Decimal Classification, OCLC, WorldCat, WorldCat Resource Sharing and “The world’s libraries.
    [Show full text]
  • An Overview of Gut Microbiota and Colon Diseases with a Focus on Adenomatous Colon Polyps
    International Journal of Molecular Sciences Review An Overview of Gut Microbiota and Colon Diseases with a Focus on Adenomatous Colon Polyps Oana Lelia Pop 1 , Dan Cristian Vodnar 1 , Zorita Diaconeasa 1 , Magdalena Istrati 2, 3 4 1, Adriana Bint, int, an , Vasile Virgil Bint, int, an , Ramona Suharoschi * and Rosita Gabbianelli 5,* 1 Department of Food Science, University of Agricultural Sciences and Veterinary Medicine, 400372 Cluj-Napoca, Romania; [email protected] (O.L.P.); [email protected] (D.C.V.); [email protected] (Z.D.) 2 Regional Institute of Gastroenterology and Hepatology “Prof. Dr. Octavian Fodor”, 400158 Cluj-Napoca, Romania; [email protected] 3 1st Medical Clinic, Department of Gastroenterology, Emergency County Hospital, 400006 Cluj Napoca, Romania; [email protected] 4 1st Surgical Clinic, Department of Surgery, University of Medicine and Pharmacy Cluj Napoca, 400006 Cluj Napoca, Romania; [email protected] 5 Unit of Molecular Biology, School of Pharmacy, University of Camerino, Via Gentile III da Varano, 62032 Camerino, Italy * Correspondence: [email protected] (R.S.); [email protected] (R.G.) Received: 6 August 2020; Accepted: 2 October 2020; Published: 5 October 2020 Abstract: It is known and accepted that the gut microbiota composition of an organism has an impact on its health. Many studies deal with this topic, the majority discussing gastrointestinal health. Adenomatous colon polyps have a high prevalence as colon cancer precursors, but in many cases, they are hard to diagnose in their early stages. Gut microbiota composition correlated with the presence of adenomatous colon polyps may be a noninvasive and efficient tool for diagnosis with a high impact on human wellbeing and favorable health care costs.
    [Show full text]
  • Writing Mathematical Expressions in Plain Text – Examples and Cautions Copyright © 2009 Sally J
    Writing Mathematical Expressions in Plain Text – Examples and Cautions Copyright © 2009 Sally J. Keely. All Rights Reserved. Mathematical expressions can be typed online in a number of ways including plain text, ASCII codes, HTML tags, or using an equation editor (see Writing Mathematical Notation Online for overview). If the application in which you are working does not have an equation editor built in, then a common option is to write expressions horizontally in plain text. In doing so you have to format the expressions very carefully using appropriately placed parentheses and accurate notation. This document provides examples and important cautions for writing mathematical expressions in plain text. Section 1. How to Write Exponents Just as on a graphing calculator, when writing in plain text the caret key ^ (above the 6 on a qwerty keyboard) means that an exponent follows. For example x2 would be written as x^2. Example 1a. 4xy23 would be written as 4 x^2 y^3 or with the multiplication mark as 4*x^2*y^3. Example 1b. With more than one item in the exponent you must enclose the entire exponent in parentheses to indicate exactly what is in the power. x2n must be written as x^(2n) and NOT as x^2n. Writing x^2n means xn2 . Example 1c. When using the quotient rule of exponents you often have to perform subtraction within an exponent. In such cases you must enclose the entire exponent in parentheses to indicate exactly what is in the power. x5 The middle step of ==xx52− 3 must be written as x^(5-2) and NOT as x^5-2 which means x5 − 2 .
    [Show full text]
  • Dictation Presentation.Pptx
    Dictaon using Apple Devices Presentaon October 10, 2013 Trudy Downs Operang Systems • iOS6 • iOS7 • Mountain Lion (OS X10.8) Devices • iPad 3 or iPad mini • iPod 4 • iPhone 4s, 5 or 5c or 5s • Desktop running Mountain Lion • Laptop running Mountain Lion Dictaon Shortcut Words • Shortcut WordsDictaon includes many voice “shortcuts” that allows you to manipulate the text and insert symbols while you are speaking. Here’s a list of those shortcuts that you can use: - “new line” is like pressing Return on your keyboard - “new paragraph” creates a new paragraph - “cap” capitalizes the next spoken word - “caps on/off” capitalizes the spoken sec&on of text - “all caps” makes the next spoken word all caps - “all caps on/off” makes the spoken sec&on of text all caps - “no caps” makes the next spoken word lower case - “no caps on/off” makes the spoken sec&on of text lower case - “space bar” prevents a hyphen from appearing in a normally hyphenated word - “no space” prevents a space between words - “no space on/off” to prevent a sec&on of text from having spaces between words More Dictaon Shortcuts • - “period” or “full stop” places a period at the end of a sentence - “dot” places a period anywhere, including between words - “point” places a point between numbers, not between words - “ellipsis” or “dot dot dot” places an ellipsis in your wri&ng - “comma” places a comma - “double comma” places a double comma (,,) - “quote” or “quotaon mark” places a quote mark (“) - “quote ... end quote” places quotaon marks around the text spoken between - “apostrophe”
    [Show full text]
  • TITLE of the PAPER 1. First Steps 2 1.1. General Mathematics 2 1.2
    TITLE OF THE PAPER STEVEN J. MILLER ABSTRACT. The point of these notes is to give a quick introduction to some of the standard commands of LaTeX; for more information see any reference book. Thus we concentrate on a few key things that will allow you to handle most situations. For the most part, we have tried to have the text describe the commands; though of course we cannot do this everywhere. You should view both the .tex code and the output (either .pdf or .dvi) simultaneously. CONTENTS 1. First Steps 2 1.1. General Mathematics 2 1.2. One Line Equations 3 1.3. Labeling Equations 4 1.4. Multi-Line Equations: Eqnarray 5 1.5. Lemmas,Propositions,TheoremsandCorollaries 6 1.6. Using Subsubsections 7 1.7. Tables 10 1.8. Matrices and Shortcuts 10 2. Environments I 13 2.1. Shortcut Environments 13 2.2. Enumeration, Itemizing, and General Latex and Linux Commands 13 3. Graphics and Color 14 3.1. Inserting Graphics 14 3.2. Color 14 4. Environments II 15 4.1. Lists 15 4.2. Emphasize and Bolding 15 4.3. Centering Text 15 4.4. Refering to Bibliography 15 4.5. Font sizes 15 5. Documentclassandglobalformatting 16 6. Further Reading 16 Acknowledgements 17 Date: October 14, 2011. 2000 Mathematics Subject Classification. 11M06 (primary), 12K02 (secondary). Key words and phrases. How to use TeX. The author would like to thank to Daneel Olivaw for comments on an earlier draft. The author was supported by a grant from the University of Trantor, and it is a pleasure to thank them for their generosity.
    [Show full text]
  • How the Past Affects the Future: the Story of the Apostrophe1
    HOW THE PAST AFFECTS THE FUTURE: THE STORY OF THE APOSTROPHE1 Christina Cavella and Robin A. Kernodle I. Introduction The apostrophe, a punctuation mark which “floats above the line, symbolizing something missing in the text” (Battistella, 1999, p. 109), has been called “an unstable feature of written English” (Gasque, 1997, p. 203), “the step-child of English orthography” (Barfoot, 1991, p. 121), and “an entirely insecure orthographic squiggle” (Barfoot, 1991, p. 133). Surely the apostrophe intends no harm; why then the controversy and apparent emotionalism surrounding it? One major motivation for investigating the apostrophe is simply because it is so often misused. A portion of the usage problem can perhaps be attributed to the chasm dividing spoken and written language, as the apostrophe was originally intended to indicate missing letters, which may or may not have actually been enunciated. To understand what has been called “the aberrant apostrophe,” (Crystal, 1995, p. 203) and the uncertainty surrounding its usage, an examination of its history is essential, for it is this “long and confused” (Crystal, 1995, p. 203) history that is partially responsible for the modern-day misuses of the apostrophe. This paper will trace the history of the apostrophe, examining the purpose(s) for which the apostrophe has been utilized in the past as well as presenting its current use. An overview of contemporary rules of usage is then included, along with specific examples of apostrophe misuse and a recommendation on how to teach apostrophe usage to non- native speakers of English. Finally, an attempt is made to predict the apostrophe’s future.
    [Show full text]
  • Basic Facts About Trademarks United States Patent and Trademark O Ce
    Protecting Your Trademark ENHANCING YOUR RIGHTS THROUGH FEDERAL REGISTRATION Basic Facts About Trademarks United States Patent and Trademark O ce Published on February 2020 Our website resources For general information and links to Frequently trademark Asked Questions, processing timelines, the Trademark NEW [2] basics Manual of Examining Procedure (TMEP) , and FILERS the Acceptable Identification of Goods and Services Manual (ID Manual)[3]. Protecting Your Trademark Trademark Information Network (TMIN) Videos[4] Enhancing Your Rights Through Federal Registration Tools TESS Search pending and registered marks using the Trademark Electronic Search System (TESS)[5]. File applications and other documents online using the TEAS Trademark Electronic Application System (TEAS)[6]. Check the status of an application and view and TSDR download application and registration records using Trademark Status and Document Retrieval (TSDR)[7]. Transfer (assign) ownership of a mark to another ASSIGNMENTS entity or change the owner name and search the Assignments database[8]. Visit the Trademark Trial and Appeal Board (TTAB)[9] TTAB online. United States Patent and Trademark Office An Agency of the United States Department of Commerce UNITED STATES PATENT AND TRADEMARK OFFICE BASIC FACTS ABOUT TRADEMARKS CONTENTS MEET THE USPTO ������������������������������������������������������������������������������������������������������������������������������������������������������������������ 1 TRADEMARK, COPYRIGHT, OR PATENT ��������������������������������������������������������������������������������������������������������������������������
    [Show full text]
  • Orthographies in Grammar Books
    Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 30 July 2018 doi:10.20944/preprints201807.0565.v1 Tomislav Stojanov, [email protected], [email protected] Institute of Croatian Language and Linguistic Republike Austrije 16, 10.000 Zagreb, Croatia Orthographies in Grammar Books – Antiquity and Humanism Summary This paper researches the as yet unstudied topic of orthographic content in antique, medieval, and Renaissance grammar books in European languages, as part of a wider research of the origin of orthographic standards in European languages. As a central place for teachings about language, grammar books contained orthographic instructions from the very beginning, and such practice continued also in later periods. Understanding the function, content, and orthographic forms in the past provides for a better description of the nature of the orthographic standard in the present. The evolution of grammatographic practice clearly shows the continuity of development of orthographic content from a constituent of grammar studies through the littera unit gradually to an independent unit, then into annexed orthographic sections, and later into separate orthographic manuals. 5 antique, 22 Latin, and 17 vernacular grammars were analyzed, describing 19 European languages. The research methodology is based on distinguishing orthographic content in the narrower sense (grapheme to meaning) from the broader sense (grapheme to phoneme). In this way, the function of orthographic description was established separately from the study of spelling. As for the traditional description of orthographic content in the broader sense in old grammar books, it is shown that orthographic content can also be studied within the grammatographic framework of a specific period, similar to the description of morphology or syntax.
    [Show full text]
  • 1St Rule: FANBOYS and Compound Sentences FANBOYS Is a Mnemonic Device, Which Stands for the Coordinating Conjunctions: For, And, Nor, But, Or, Yet, and So
    1st Rule: FANBOYS and Compound Sentences FANBOYS is a mnemonic device, which stands for the coordinating conjunctions: For, And, Nor, But, Or, Yet, and So. These words, when used to connect two independent clauses (two complete thoughts), must be preceded by a comma. A sentence is a complete thought, consisting of a Subject and a Verb. Conjunctions should not be confused with conjunctive adverbs, such as However, Therefore, and Moreover or with conjunctions, such as Because. 2nd Rule: Introductory Bits When using an introductory word, phrase, or clause to begin a sentence, it is important to place a comma between the introduction and the main sentence. The introduction is not a complete thought on its own; it simply introduces the main clause. This lets the reader know that the “meat” of the sentence is what follows the comma. You should be able to remove the part which comes before the comma and still have a complete thought. Examples: Generally, John is opposed to overt acts of affection. However, Lucy inspires him to be kind. If the hamster is launched fifty feet, there is too much pressure in the cannon. Although the previous sentence has little to do with John and Lucy, it is a good example of how to use commas with introductory clauses. 3rd Rule: Separating Items in a Series Commas belong between each item in a list. However, in a series of three items, the comma between the second and third item and the conjunction (generally and or or) is optional, whereas in a list of four items, the comma is necessary.
    [Show full text]