Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Actual /prog/ on /prog/

Name: XxBongxxSerpentxX 2013-03-12 5:20

i see moor /prog/ on /g/
fuck this shit

Name: Anonymous 2013-03-12 5:21

/polecat kebabs/

Name: XxBongxxSerpentxX 2013-03-12 5:23

Name: XxBongxxSerpentxX 2013-03-12 5:28

If its any Konsolation, i would like to know how to use multiple If statements within a batch, or perhaps even using ELSE

Name: Anonymous 2013-03-12 5:35

>>4
Ask the local eendian about the eef coommahnd.

Name: XxBongxxSerpentxX 2013-03-12 5:40

>>5
maybe you should ask your local spic about my butt

Name: Anonymous 2013-03-12 8:34

>>4
Whoa, else‽ Cool your jets, this is programming, not advanced programming!

Name: Anonymous 2013-03-12 10:01

>>7
The other day I heard someone talking about while and for loops
I felt sick, sick to my core.
I'll stick to goto and break, thankyou very much.

Name: Anonymous 2013-03-12 10:08

>>8
I don't know how you break without a loop, but I guess if it ain't broke, don't fix it.

Name: Anonymous 2013-03-12 14:27

>>9
heh... I think

Name: Anonymous 2013-03-12 14:37

E/G/IN dubz

Name: Anonymous 2013-03-12 16:20

>>9
In a switch-case.

Name: Anonymous 2013-03-12 21:15

up!

Name: Anonymous 2013-03-12 22:26

>>4,7
DOS batch makes everything painful:

if not cond1 goto elsif_cond2
:: handle cond1
:elsif_cond2
if not cond2 goto elsif_cond3
:: handle cond2
:elsif_cond3
if not cond3 goto else
:: handle cond3
:else
:: handle else
:: endif


>>9,12

do {
/* loop */
if (cond1)
    continue;
/* always */
if (cond2)
    break;
/* catch */
} while (0);


EXPERT STRUCTURED PROGRAMMING

Name: >>14 2013-03-12 22:28

Hurr:

if not cond1 goto elsif_cond2
:: handle cond1
goto endif
:elsif_cond2
if not cond2 goto elsif_cond3
:: handle cond2
goto endif
:elsif_cond3
if not cond3 goto else
:: handle cond3
goto endif
:else
:: handle else
:: endif

Name: >>14,15 2013-03-12 22:29

if not cond1 goto elsif_cond2
:: handle cond1
goto endif
:elsif_cond2
if not cond2 goto elsif_cond3
:: handle cond2
goto endif
:elsif_cond3
if not cond3 goto else
:: handle cond3
goto endif
:else
:: handle else
:endif

Time for bed.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List