Goto

ÁöÁ¤µÈ ¶óº§·Î Á¡ÇÁÇؼ­ ½ÇÇàÀ» °è¼ÓÇÕ´Ï´Ù.

Goto, Label

¸Å°³º¯¼ö

Label

Á¡ÇÁÇØ °¥ ¶óº§ À̸§.

³íÆò

%MyLabel%¿Í °°Àº µ¿ÀûÀÎ ¶óº§À» »ç¿ëÇÒ ¶§, ¶óº§ÀÌ Á¸ÀçÇÏÁö ¾ÊÀ¸¸é ¿¡·¯ ´ëÈ­»óÀÚ°¡ ³ªÅ¸³³´Ï´Ù. À̸¦ ÇÇÇÏ·Á¸é, ¹Ì¸® IsLabel()¸¦ È£ÃâÇϽʽÿÀ. ¿¹¸¦ µé¾î:

if IsLabel(VarContainingLabelName)
    Goto %VarContainingLabelName%

Goto´Â »ç¿ëÀ» ±ÇÀåÇÏÁö ¾Ê½À´Ï´Ù. ¿Ö³ÄÇϸé ÀϹÝÀûÀ¸·Î ½ºÅ©¸³Æ®¸¦ ´õ Àб⠾î·Æ°í °ü¸®Çϱâ Èûµé°Ô ¸¸µé±â ¶§¹®ÀÔ´Ï´Ù. Else, Blocks, Break, ±×¸®°í Continue¸¦ Goto¿¡ ´ëÇÑ ´ë¾ÈÀ¸·Î »ý°¢ÇØ º¸½Ê½Ã¿À.

°ü·Ã Ç׸ñ

Gosub, Return, IsLabel(), Else, ºí·Ï, Break, Continue

¿¹Á¦

Goto, MyLabel
...
MyLabel:
Sleep, 100
...