| Microsoft DirectX 9.0 |
if...else ...endif ºí·ÏÀÇ ½ÃÀÛ.
| if boolRegister |
|---|
¿©±â¼
| Çȼ¿ ¼ÎÀÌ´õÀÇ ¹öÀü | 1_1 | 1_2 | 1_3 | 1_4 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
|---|---|---|---|---|---|---|---|---|---|
| if | x | x | x | x |
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 system | Windows 98 |
|---|