コンテンツにスキップ

検索結果

  • BreakStmt = "break" [ Label ] ; ContinueStmt = "continue" [ Label ] ; GotoStmt = "goto" Label ; FallthroughStmt = "fallthrough" ; DeferStmt = "defer" Expression…
    9キロバイト (793 語) - 2022年11月20日 (日) 07:11
  • Go/文 (Gotoの節)
    bias(x, y) } } Goto文(A "goto" statement)は、同じ関数内の対応するラベルを持つステートメントに制御を移します。 構文 GotoStmt = "goto" Label ; 例 goto Error goto文を実行することで、goto
    40キロバイト (5,875 語) - 2023年5月19日 (金) 14:43
  • スライスや配列、mapなどのコレクションから一つずつ要素を取り出していく まず、素朴のFor文の使い方を説明します。 for 初期化; 条件式; ポスト文 { /* 繰返す処理 */ } これをIf文とGoto文を使って書き直すと。 { 初期化 top: if !(条件式) { goto bottom…
    15キロバイト (2,144 語) - 2023年2月28日 (火) 05:37
  • goto文は、指定されたラベルにジャンプするために使用されます。goto文は、ループ、スイッチ、または関数の中で使用されます。ただし、goto文を使用することは、プログラムの可読性を損なうことがあり、使用は推奨されません。 以下は、goto文を使用する例です。 <?php goto a; echo…
    39キロバイト (5,388 語) - 2024年1月28日 (日) 09:27
  • Goのキーワード一覧 break default func interface select case defer go map struct chan else goto package switch const fallthrough if range type continue for import…
    19キロバイト (2,502 語) - 2022年6月4日 (土) 21:17
  • PHP/ (gotoの節)
    goto文は、指定されたラベルにジャンプするために使用されます。goto文は、ループ、スイッチ、または関数の中で使用されます。ただし、goto文を使用することは、プログラムの可読性を損なうことがあり、使用は推奨されません。 以下は、goto文を使用する例です。 <?php goto a; echo…
    2キロバイト (40,852 語) - 2022年12月7日 (水) 00:06
  • Goのキーワード一覧 break default func interface select case defer go map struct chan else goto package switch const fallthrough if range type continue for import…
    21キロバイト (2,941 語) - 2023年5月19日 (金) 14:30
  • 制御の移動 プログラムの特定の部分に直接ジャンプする。 break文 イテレーションの中断。 continue文 次のイテレーションへのスキップ。 goto文 ラベルへの移動。 C++特有の制御構造 if constexpr コンパイル時に条件分岐を行うことができ、コンパイル時の最適化を支援します。C++17で導入されました。…
    36キロバイト (5,090 語) - 2024年5月19日 (日) 05:14
  • Perl/関数 (gotoの節)
    say main::map { 2 * $_ } ( 1, 2, 3 ); say main::map { 2 * $a } ( 1, 2, 3 ); say CORE::map { 2 * $_ } ( 1, 2, 3 ); say main::map { $_ x 2 } qw(a b c); say…
    133キロバイト (10,675 語) - 2024年4月4日 (木) 22:26
  • != 0) "NON ZERO" }) } 実行結果 zero Zero () C言語のswicth文は、式と一致するリテラルのラベルへの多方向GOTO文ですが、Scalaのmatch式はパターンマッチングに基づいています。 構文 match-expr := 式 match ’{’ ( パターン =>…
    40キロバイト (4,989 語) - 2024年1月29日 (月) 13:39
  • 式を評価した後すべき計算を、継続オブジェクトとして proc に渡す手続きである。 この継続オブジェクトは、C言語で考えると (call/cc proc) を評価した後の処理へgotoするマクロ、もしくは (call/cc proc) を評価したときに setjmp() によってマークした地点に longjmp()…
    23キロバイト (3,492 語) - 2023年4月22日 (土) 00:46
  • say main::map { 2 * $_ } ( 1, 2, 3 ); say main::map { 2 * $a } ( 1, 2, 3 ); say CORE::map { 2 * $_ } ( 1, 2, 3 ); say main::map { $_ x 2 } qw(a b c); say…
    3キロバイト (48,002 語) - 2023年7月5日 (水) 00:13
  • #include <map> decltype(auto) getMappedValue(std::map<int, std::string>& m, int key) { return m[key]; } int main() { std::map<int, std::string> myMap = {{1…
    69キロバイト (8,412 語) - 2024年5月25日 (土) 11:30
  • local variables. map: map(func, *iterables) --> map object max: max(iterable, *[, default=obj, key=func]) -> value memoryview: Create a new memoryview object…
    1キロバイト (43,573 語) - 2024年6月27日 (木) 05:29