| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Scripting 10. Old functions</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Scripting 10. Old functions |
| 13 | </b></font></table></table> |
| 14 | <p>The Praat scripting language improves and changes, but old scripts should continue to work correctly. Here are some examples of what you can see in old scripts, and what they mean:</p> |
| 15 | <p>The meaning of</p> |
| 16 | <code> echo Hello, my name is 'name$' and I am 'age' years old.<br></code> |
| 17 | <p>is</p> |
| 18 | <code> writeInfoLine: "Hello, my name is ", name$, " and I am ", age, " years old."<br></code> |
| 19 | <p>The meaning of</p> |
| 20 | <code> Draw... 0 0 0 0 yes Curve<br></code> |
| 21 | <p>is</p> |
| 22 | <code> Draw: 0, 0, 0, 0, "yes", "Curve"<br></code> |
| 23 | <p>The meaning of</p> |
| 24 | <code> Read from file... 'fileName$'<br></code> |
| 25 | <p>is</p> |
| 26 | <code> Read from file: fileName$<br></code> |
| 27 | <h3>Links to this page</h3> |
| 28 | <ul> |
| 29 | <li><a href="Scripting.html">Scripting</a> |
| 30 | </ul> |
| 31 | <hr> |
| 32 | <address> |
| 33 | <p>© ppgb 20140112</p> |
| 34 | </address> |
| 35 | </body> |
| 36 | </html> |