title: Robot Framework: How can I pass a list to a keyword in an if statement?
body: <p>I need help with Robot Framework syntax.
  First usage of Log My List keyword is fine, logs the list perfectly. Second usage, in if statement keeps telling me: </p>
  
  <blockquote>
    <p>Value of variable '@{MyList}' is not list or list-like</p>
  </blockquote>
  
  <p>Does anyone know what is the problem?</p>
  
  <pre><code>*** Settings ***
  Documentation    Problematic Suite
  
  *** Variables ***
  ${condition}    0
  
  *** Keywords ***
  Log My List ${MyList}
      Log Many   @{MyList}
  
  *** Test Cases ***
  LD_0: Pass List in If Statement.
      [Documentation]    Problem example.
      [Tags]    Problem
      @{LIST}=    Create List    item1    item2    item3
      Log My List ${LIST}
      Run Keyword If  ${condition} == 0    Log My List ${LIST}
  </code></pre>