Forum

    • Register
    • Login
    • Search
    • Categories

    Multi-declaration of local variable...

    General Questions
    1
    1
    26
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustk
      ustk last edited by

      @Christoph-Hart Is it normal there's no check to prevent multi-declaration of locals? 🙄

      inline function localTest()
      {
          local x = 2;
          local x;    // Perfectly works...
      }
      localTest();
      

      I can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 1
      • First post
        Last post

      1
      Online

      1.1k
      Users

      6.8k
      Topics

      62.7k
      Posts