mirror of
https://github.com/felixlohmeier/bibliotheks-und-archivinformatik.git
synced 2025-03-09 00:00:28 +01:00
Updates kapitel-3.md
Auto commit by GitBook Editor
This commit is contained in:
parent
74040bb5bc
commit
8bb9f2e2c6
20
kapitel-3.md
20
kapitel-3.md
@ -1,4 +1,24 @@
|
||||
# Kapitel 3: Übertragungsprotokolle und Datentransformationen \(02.11.2017\)
|
||||
|
||||
{% exercise %}
|
||||
Define a variable `x` equal to 10.
|
||||
|
||||
{% initial %}
|
||||
var x =
|
||||
|
||||
{% solution %}
|
||||
var x = 10;
|
||||
|
||||
{% validation %}
|
||||
assert(x == 10);
|
||||
|
||||
{% context %}
|
||||
// This is context code available everywhere
|
||||
// The user will be able to evaluate `exposedVar`
|
||||
var exposedVar = 3;
|
||||
// ... or call `exposedFunction`
|
||||
function exposedFunction {
|
||||
return 3;
|
||||
}
|
||||
{% endexercise %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user