menu_cmd_comandos.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="w3-item"><img src="img/icn_cmd.png" title="icon option " class="w3-icon icon_32x32"/></div>
  2. <h3>Commands</h3>
  3. <p>
  4. Commands are used to create the logical structure of a program.
  5. In <i>iVProg</i> you can add the following commands:</p>
  6. <ul>
  7. <li> <b>Main Commands</b>
  8. <ul>
  9. <li> data input (read);</li>
  10.       <li> data output (print);</li>
  11.       <li> comment insertion;</li>
  12.       <li> assignment (set value for some variable);</li>
  13.       <li> call function (used to generate a value);</li>
  14.       <li> selection command;</li>
  15.       <li> fixed loop command (type <i>loop for</i>);</li>
  16.       <li> repeat command with input condition (loop of type <i>repeat while</i>);</li>
  17.       <li> repeat command with output condition (type <i>loop repeat until</i>);</li>
  18.       <li> selection command from several options;</li>
  19.       <li> return command (used in functions).</li>
  20. </ul>
  21. </li>
  22. </ul>
  23. <div class="img-div">
  24. <img src="img/btn_cmd.png"/>
  25. <span class="img-label">Main Commands</span>
  26. </div>
  27. <ul>
  28. <li> <b>Contextual Commands</b>
  29. <ul>
  30. <li>break</li>
  31. <li>case</li>
  32. <!--li>caso contrário</li -->
  33. </ul>
  34. </li>
  35. </ul>
  36. <p>
  37. Note that context commands are only available on supported commands and are accessed through the icon
  38. <img src="img/icn_subcmd.png" title="icon option " class="w3-icon icon_32x32" style="display:inline-block"/>
  39. </p>
  40. <div class="img-div">
  41. <img src="img/btn_subcmd.png"/>
  42. <span class="img-label">Contextual Commands</span>
  43. </div>