CMC logo Cave Man Code

binga

also written: if

Choices

Do something only when a check is gronk.

How to write it

binga <check>
    <things to do>
unga
binga <check>
    <things>
wonga
    <other things>
unga
binga <check>
    <things>
wonga binga <check2>
    <more>
unga

What it does

binga asks a yes/no question and only does the things inside when the answer is gronk (true).

Use wonga to say what to do when it is not gronk. Use wonga binga to check something else first, like 'else if'.

Every binga needs its own unga at the end.

Example

grunk apples = 3

binga apples > 2
    oga "That is a lot of apples!"
wonga
    oga "Just a few apples."
unga

Tips

See also

wonga · unga · gronk · nork · and · or · not

Back to all words