Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Indentation


Related Topics
Ink

  
  Indentation - Wikipedia, the free encyclopedia
In the written form of many American and European languages, an indentation is often used at the beginning of a line to signal the start of a new paragraph.
Indentation is generally only of use to programmers; compilers and interpreters rarely care how much whitespace is present in between programming statements.
Recently, a third method of indentation was proposed, called elastic tabstops.
en.wikipedia.org /wiki/Indentation   (260 words)

  
 2.1.8 Indentation
Leading whitespace (spaces and tabs) at the beginning of a logical line is used to compute the indentation level of the line, which in turn is used to determine the grouping of statements.
Indentation cannot be split over multiple physical lines using backslashes; the whitespace up to the first backslash determines the indentation.
The indentation levels of consecutive lines are used to generate INDENT and DEDENT tokens, using a stack, as follows.
www.python.org /doc/current/ref/indentation.html   (492 words)

  
 Objective assessment of limb tissue elasticity: Development of a manual indentation procedure   (Site not responding. Last check: 2007-10-10)
An ultrasound indentation apparatus was developed by the investigators for the assessment of the mechanical properties of limb soft tissues (49-53).
By monitoring the indentation measurement data shown on the screen of the computer, the maximum indentation was controlled and limited to within approximately 30 percent of the initial thickness of the soft tissues.
It should be noted that the indentation responses of the soft tissue not only depended on the mechanical behavior of the soft tissues, but also on the soft tissue thickness, the initial state of the soft tissue, the boundary interface conditions, and the indentor geometry.
www.vard.org /jour/99/36/2/zheng.htm   (8031 words)

  
 CSS - GNU Emacs Manual - Indentation
It deletes the indentation at the front of the current line, and the line boundary as well, replacing them with a single space.
An indentation point is the end of a sequence of whitespace or the end of the line.
If point is farther right than any indentation point in the previous line, the whitespace before point is deleted and the first indentation point then applicable is used.
css.sfu.ca /nsg/cssnetdocs/doc/emacs/emacs_24.html   (957 words)

  
 Python: Myths about Indentation
Granted, the fact that indentation is used to indicate the block structure might be regarded as uncommon and requiring to get used to it, but it does have a lot of advantages, and you get used to it very quickly when you seriously start programming in Python.
Whenever a nested block begins, the new indentation level is pushed on the stack, and an "INDENT" token is inserted into the token stream which is passed to the parser.
When a line is encountered with a smaller indentation level, values are popped from the stack until a value is on top which is equal to the new indentation level (if none is found, a syntax error occurs).
www.secnetix.de /~olli/Python/block_indentation.hawk   (1249 words)

  
 Review of instrumented indentation Journal of Research of the National Institute of Standards and Technology - Find ...   (Site not responding. Last check: 2007-10-10)
Instrumented indentation, also known as depth-sensing indentation or nanoindentation, is increasingly being used to probe the mechanical response of materials from metals and ceramics to polymeric and biological materials.
Indentation or hardness testing has long been used for characterization and quality control of materials, but the results are not absolute and depend on the test method.
Instrumented indentation systems have been used to study, for example, dislocation behavior in metals [2-4], fracture behavior in ceramics [5-6], mechanical behavior of thin films [7-10] and bone [11], residual stresses [12], and time-dependent behavior in soft metals [13-15] and polymers [16-22].
www.findarticles.com /p/articles/mi_m0IKZ/is_4_108/ai_111734057   (744 words)

  
 TWiki . Netbeans . IndentEngineTutorial
The indentation engine may either be written in a language-independent way or it may be specific for a language such as java or html.
In order to allow the created indentation engine to be used it is necessary to register the indentation engine as a service through the xml layer and create a corresponding beaninfo.
Indentation engine may be specialized to an indentation of a specific language.
wiki.java.net /bin/view/Netbeans/IndentEngineTutorial   (433 words)

  
 Indentation and Braces   (Site not responding. Last check: 2007-10-10)
It's still hard to understand, but we can see from the indentation that ``died'' belongs with ``the rat'' and it was the cat that bit the rat, and the dog that chased the cat.
Similarly, the indentation is crucial to showing that line 3 comes after line 1 and is at the same level--both are contained in the outer for loop.
Indentation is defined by syntactic structure, and syntactic structure is essentially defined by braces,For reasons I don't understand, many people call these characters {} ``curly braces'' and these ``square brackets.'' Since those are the only kind of braces I know, I just call them braces, and similarly I call the other things brackets.
www.spelman.edu /~compsci/cis122/section1/style/node4.html   (1403 words)

  
 Nano-indentation studies of xerogel and SiLK low-K dielectric materials Journal of Electronic Materials - Find Articles   (Site not responding. Last check: 2007-10-10)
Surface behavior after indentation is also investigated with high resolution scanning electron microscopy Nano-indentation using the continuous stiffness measurement technique is shown to be reliable for evaluating the mechanical properties of thin and low modulus films.
Indentations on Xerogel samples were performed at various depths ranging from ~10-15% of the film thickness to more than the coating thickness in order to see the mechanical behavior of this low-K material.
This kind of reversibility suggests that deformation due to indentation on the Xerogel sample may be near elastic.11 It can also be seen from the figure that all the loading curves for different indentation depths follow the same path, which indicates the reproducibility and uniformity of the coatings.
www.findarticles.com /p/articles/mi_qa3776/is_200112/ai_n9006020   (823 words)

  
 Java Style Guide: Indentation
For CS 110, three spaces works well: it is still noticeable even with the smaller font sizes used for printing yet not so large that line wrap becomes a major concern.
While it may seem easier to insert tabs in place of spaces for indentation, tabs are set inconsistently across computers and what may look perfect on your computer may appear staggered on someone else's computer if their tab settings do not match your own.
By using spaces instead of tabs, indentation will be consistent across computers regardless of whether the tab setting is 2 or 8.
www.cwu.edu /~gellenbe/javastyle/indentation.html   (146 words)

  
 3.7.5. Indentation
With standard indentation, lines will be indented according to the current indentation level (Note that the indentation level changes as the block or parentheses level changes).
Now, it can be that indentation is increased in a way that could be seen as superfluous, because already one level of indentaton would be enough to indicate the basic logical structure of a code statement.
With standard indentation enabled, this option causes an extra increase of the indentation level upon wrapping of method and constructor parameters.
www.triemax.com /products/jalopy/manual/indentation.html   (2354 words)

  
 ASTM Proposed Instrumented Indentation Testing Standard
A task group of ASTM Subcommittee E28.06 on Indentation Hardness Testing, part of Committee E28 on Mechanical Testing, is working on a draft practice that will define the basic parameters of instrumented indentation testing.
Basically, instrumented indentation testing is a mechanical testing process designed to determine the properties of materials by putting an indentation in the surface of a material sample.
Indentation tests require that some performance testing using test blocks be done to verify that the instrument is operating correctly.
www.astm.org /SNEWS/OCTOBER_2003/tobolski_oct03.html   (1287 words)

  
 Criteria for evaluating indentation styles
Indentation style is a very contentious topic, but there is some hope that certain criteria could be used to objectively evaluate different styles.
For an indentation style to be good, the structure of a program should be visible and consistent at differnt levels of detail.
And note that the argument about indentation style is moot with Python: you can't change the style without changing the actual meaning.
www.chimu.com /publications/short/indentationStyle.html   (1248 words)

  
 Indentation for Programs
The indentation of the line the sexp starts on is not changed; therefore, only the relative indentation within the list, and not its position, is changed.
The standard pattern of indentation is as follows: the second line of the expression is indented under the first argument, if that is on the same line as the beginning of the expression; otherwise, the second line is indented underneath the function name.
The indentation is relative to the open brace of the class definition.
www.nongnu.org /emacsdoc-fr/manuel/program-indent.html   (2845 words)

  
 3.15 Indentation
Indentation is usually achieved by inserting tab or space characters into the text so as to indent that text a predefined number of spaces.
The effect of the editor indentation commands depends on the major mode of the buffer.
In both cases, a prefix argument causes any existing indentation to be deleted and replaced with a block of whitespace of the appropriate width.
www.lispworks.com /documentation/lw445/EDUG-W/html/eduser-w-58.htm   (495 words)

  
 Indent style - Wikipedia, the free encyclopedia
In particular, indentation is used to show the relationship between control flow constructs such as conditions or loops and code contained within and outside them.
This style is similar to the standard indentation used by the Pascal programming language and Transact-SQL, where the braces are equivalent to the "begin" and "end" keywords.
Programmers who rely on counting the opening braces may have difficulty with indentation styles such as KandR, where the beginning brace is not visually separated from its control statement.
en.wikipedia.org /wiki/Indent_style   (2050 words)

  
 BFRL: DEPTH-SENSING INDENTATION OF POLYMERS
The analysis of indentation load-penetration curves produced by depth-sensing indentation systems is often based on work by Oliver and Pharr.
Their analysis was in turn based upon relationships developed by Sneddon for the penetration of a flat elastic half space by different probes with particular axisymmetric shapes (e.g., a flat-ended cylindrical punch, a paraboloid of revolution, and a cone).
Left -- An indentation load-displacement curve in which several important parameters used in the Oliver and Pharr analysis are illustrated.; Right -- Illustration of the indentation geometry at maximum load for an ideal conical indenter.
www.bfrl.nist.gov /nanoscience/DSI.htm   (1324 words)

  
 Indentation as a block delimiter
This is a transcript of a discussion of the merits and demerits of using indentation to recognize block structure rather than delimiters such as begin/end or {}.
The argument is that proper indentation is an element of good coding style and that, in general, it is desirable that good coding style be obligatory.
It does seem to be the case that almost all languages which use indentation are interpreted; however this may simply be that contexts in which indentation is workable are usually contexts in which interpreted languages are appropriate.
www.tiac.net /~cri/2001/indentation.html   (3110 words)

  
 XEmacs: A Collection of Tutorials on Emacs - Indentation
The indentation engine is quite flexible, and the CC mode info file has the whole story on customizing indentation for these major modes.
Choose an indentation style which is closest to what you want, then change the remaining variables from your mode hook.
Below, the spots relative indentation moves to are indicated with a caret.
www.xemacs.org /Links/tutorials_1.html   (1289 words)

  
 (WO/1988/000104) METHOD AND APPARATUS FOR MEASURING AND CONTROLLING INDENTATION IN RESISTANCE WELDING   (Site not responding. Last check: 2007-10-10)
During a welding operation, the apparatus measures changes in a distance separating a reference point located on an electrode assembly (141, 142) and a region situated on the surface (113, 114) of the workpiece (105, 106) being welded wherein the region is not substantially indented by the electrode.
The indentation is repeatedly measured by detection of ultrasonic echoes (120, 123) from the surface of the material being welded.
In order to obtain more precise control of the indentation, the rate at which indentation occurs can be measured and the welding power can be changed on a half cycle by half cycle basis (612, 613) to increase or decrease the indentation rate according to a desired indentation program (608).
www.wipo.int /pctdb/en/wo.jsp?WO=1988/00104   (530 words)

  
 [No title]   (Site not responding. Last check: 2007-10-10)
Four spaces should be used as the unit of indentation.
The exact construction of the indentation (spaces vs. tabs) is unspecified.
Tabs must be set exactly every 8 spaces (not 4).
java.sun.com /docs/codeconv/html/CodeConventions.doc3.html   (358 words)

  
 Indentation - GNU Emacs Manual   (Site not responding. Last check: 2007-10-10)
A tab character is displayed as a stretch of whitespace which extends to the next display tab stop position, and the default width of a tab stop is eight.
Type to do syntax-driven indentation, in a mode that supports it.
always inserts a tab, even when tabs are disabled for the indentation commands.
www.gnu.org /software/emacs/manual/html_node/Indentation.html   (372 words)

  
 SRFI 49: Indentation-sensitive syntax
Many languages uses parentheses, braces or backets to group statements or expressions of the language, and allows exta spaces and newlines to be used to arrange the expressions or stattements in a visually pleasing way.
This, however, often comes back to bite the progammer, as an indentation leads him or her to think that the code is grouped in a specific way, when in fact, its parentheses, braces or brackets have been changed since the last time someone cared to reindent the code.
Recently, using indentation as the sole grouping constuct of a language has become popular with the advent of the Python programming language.
srfi.schemers.org /srfi-49/srfi-49.html   (1046 words)

  
 XEmacs User's Manual - Indentation
Each major mode defines this command to perform indentation appropriate for the particular language.
Empty spaces are replaced by a single space, or by no space if at the beginning of a line, before a close parenthesis, or after an open parenthesis.
There are also commands to convert tabs to spaces or vice versa, always preserving the columns of all non-blank text.
www.tau.ac.il /cc/pages/docs/xemacso/xemacs_22.html   (886 words)

  
 Syntax-Tidy for scripts (indentation and case correction)
This is version 6 of a script for all those people like me and Hajos who get lazy with adjusting the indentation manually as it should be (for readability of the script).
- after indentation the cursor is always put to the end of the file.
Would be better to put cursor back to the line number it was on when the hotkey was pressed, but this will probably be editor dependant.
www.autohotkey.com /forum/topic2528.html   (963 words)

  
 Indentation and White Space   (Site not responding. Last check: 2007-10-10)
A new level of indentation should be used at every level of statement nesting in your program.
More spaces make the indentation clearer, but they also limit the amount of information on a line after several levels of indentation.
The minimum number of spaces at each indentation should be 3, and many programmers use a tab mark (typically 8 spaces).
ei.cs.vt.edu /~cs1704/Standards/node5.html   (352 words)

  
 Info Node: (emacs)Indentation   (Site not responding. Last check: 2007-10-10)
Indentation *********** This chapter describes the Emacs commands that add, remove, or adjust indentation.
No matter where in the line you are when you type , it aligns the line as a whole.
In C mode, implements a subtle and sophisticated indentation style that knows about many aspects of C syntax.
www.cs.cmu.edu /cgi-bin/info2www?(emacs)Indentation   (302 words)

  
 Luft on .NET: Spaces for indentation considered harmful   (Site not responding. Last check: 2007-10-10)
Using tabs for indentation allows the viewer of the code to decide for themselves how large of a space to display.
Perhaps the situation was different when Spiers wrote his argument, but as of version 2.7 of the GNU diffutils, the indicator on the left of each line of the diff is not, in fact, delimited with a tab.
This is an incorrect assumption by emacs and is a bug, not a problem with tabbed indentation.
electroly.com /mt/archives/000002.html   (1633 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.