Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Commit

Permalink
More interesting output produced in branching example
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjay committed May 20, 2017
1 parent 7ed3f49 commit 15e36c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/branching.brn
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Change these variables to output different combinations of the letters a, b, c, and d

let a1: bool = false; let b1: bool = false; let c1: bool = false;
let a2: bool = false; let b2: bool = false; let c2: bool = false;
let a3: bool = false; let b3: bool = false; let c3: bool = false;
let a4: bool = false; let b4: bool = false; let c4: bool = false;
let a1: bool = false; let b1: bool = false; let c1: bool = true;
let a2: bool = true; let b2: bool = false; let c2: bool = false;
let a3: bool = false; let b3: bool = true; let c3: bool = false;
let a4: bool = true; let b4: bool = false; let c4: bool = false;
let a5: bool = false; let b5: bool = false; let c5: bool = false;
let a6: bool = false; let b6: bool = false; let c6: bool = false;
let a6: bool = false; let b6: bool = false; let c6: bool = true;

if a1 {
stdout.print(b"a");
Expand Down

0 comments on commit 15e36c2

Please sign in to comment.