Difference between revisions of "User:Kbjarkefur"
Kbjarkefur (talk | contribs) |
Kbjarkefur (talk | contribs) |
||
Line 20: | Line 20: | ||
'''Ex.1''' | '''Ex.1''' | ||
<code>foreach thing in space coding wrestling { | <code>foreach thing in space coding wrestling <nowiki>{</nowiki> | ||
display "I like `thing'" | display "I like `thing'" | ||
}</code> | }</code> |
Revision as of 21:05, 26 October 2017
About me
- Kristoffer Bjärkefur
- Work with developing best practice and software tools at DIME
- See https://github.com/worldbank/ietoolkit
- kbjarkefur@worldbank.org
Pages on this wiki I frequently need:
- Stylesheet : MediaWiki:Common.css
- Javascript : MediaWiki:Common.js
Code snippet example
This part is using the regular <code> tag which is great when writing code in the middle of a sentence:
Ex.1 Use the 'egen' function rowtotal()
when aggregating variables.
However, the <code> tag is not great when writing multiple lines of code:
Ex.1
foreach thing in space coding wrestling {
display "I like `thing'"
}