13.07.2015 Views

Driving Simulator Training - Transportation

Driving Simulator Training - Transportation

Driving Simulator Training - Transportation

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ScriptingVariables:$ ---reference variable valueNo $ --- variable name::--- global valueSet a variable and initialize its value1. set a 102. set b $a3. set b a4. set b [$a*10]5. set b [expr $a*10]6. set b [expr a*10]7. set c [expr ($a+$b)*10]Correct: set variablename constant (1)set variablename reference another variable value (2)set variablename [expression……] (5,7)28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!