लुआ में जारी रखें

कोड उदाहरण

3
0

लुआ में जारी रखें

-- Lua has no continue statement because it's designed to
-- be lightweight. Use goto instead:

arr = {1, 2, 3, 5, 6, 7, 8}

for key, val in ipairs(arr) do
  if val > 6 then
     goto skip_to_next
  end
  -- perform some calculation
  
  ::skip_to_next::
end

इसी तरह के पन्ने

उदाहरणों के साथ समान पृष्ठ

अन्य भाषाओं में

यह पृष्ठ अन्य भाषाओं में है

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................