Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Update Opslagsbog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvid Langsø authored Mar 7, 2017
1 parent 79e5ab9 commit 7fb384f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Opslagsbog.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,18 @@ Her er et par eksempler hvor antalElever er lig 7:
* antalElever >= 7 : true
* antalElever != 7 : false

#### if/else if/ else

If er en indbygget funktion i de fleste programmerings sprog. If tjekker om noget er sandt og hvis det er sandt, så udføres nogle oprationer. Koden kan fx se sådan ud:

```javascript
if(antalElever<7){
/*Denne kode udføres hvis statementen er sand.*/
}
/*Denne kode udføres altid*/


```

## Scriptcraft Funktioner

Expand Down

0 comments on commit 7fb384f

Please sign in to comment.