Goto

出自維基百科,自由嘅百科全書
Jump to navigation Jump to search

Goto(源自英文「go to」)係最原始嗰種控制流程。通常用法係放「goto」喺一個標記前面,意思係叫部電腦喺嚟到呢個位嗰陣跳去個標記所標示嗰個位置,當中「goto」使唔使大細階就視乎程式語言而定[1]

   goto label

[編輯]

  1. David Anthony Watt; William Findlay (2004). Programming language design concepts. John Wiley & Sons. p. 228.