Author

Topic: loop {} in main.cpp (Read 8036 times)

newbie
Activity: 10
Merit: 0
July 16, 2010, 07:18:14 AM
#2
Yes, it's a macro defined in util.h as

Code:
#define loop for (;;)
newbie
Activity: 4
Merit: 0
July 16, 2010, 06:48:48 AM
#1
i'm almost dying asking this question, because the answer must be obvious, and somehow i've never encountered this before!

in main.cpp of the bitcoin client, line 2667,2668 read:

        loop

        {


what is that? it's not a for-loop, a while loop, a do-while loop. is it some sort of macro?

with thanks (and a thousand apologies)

lisa
Jump to: