Microsoft DirectX 9.0

if (Çȼ¿ ¼ÎÀÌ´õ)


if...else ...endif ºí·ÏÀÇ ½ÃÀÛ.

±¸¹®

if boolRegister

¿©±â¼­

ÁÖÀÇ

Çȼ¿ ¼ÎÀÌ´õÀÇ ¹öÀü1_11_21_31_42_02_x2_sw3_03_sw
ifxxxx

if ¹®ÀÇ ºÒÇü ÀÔ·Â ·¹Áö½ºÅͰ¡ TRUE ÀÇ °æ¿ì´Â,if ¹®°ú else ¹®¿¡ µÑ·¯½ÎÀÎ Äڵ尡 ½ÇÇàµÈ´Ù. ±× ÀÌ¿ÜÀÇ °æ¿ì´Â,else...endif ¹®¿¡ µÑ·¯½ÎÀÎ Äڵ尡 ½ÇÇàµÈ´Ù. ÀÌ ¸í·ÉÀº, 1 °³ÀÇ ¸í·É ½½·ÔÀ» »ç¿ëÇÑ´Ù.

if ºí·ÏÀºÀº ³×½ºÆ® ÇÒ ¼ö ÀÖ´Ù.

if ºí·ÏÀº loop ºí·ÏÀ» ³ÑÀ» ¼ö ¾ø´Ù.

¿¹

ÀÌ ¸í·ÉÀº, Á¶°ÇºÎ Á¤Àû flow control¸¦ °è»êÇÑ´Ù.

defb b3, true

if b3
// Instructions to run if b3 is nonzero.
else
// Instructions to run otherwise.
endif

½Ã½ºÅÛ ¿ä°Ç

ÃÖÀúÇÑÀÇ operating systemWindows 98

°ü·Ã Ç׸ñ



© 2002 Microsoft Corporation. All rights reserved.
¡èTOP