| | 1 | #include "tads.h" |
| | 2 | #include "t3.h" |
| | 3 | |
| | 4 | show_list(lst) |
| | 5 | { |
| | 6 | "["; |
| | 7 | for (local i = 1 ; i <= lst.length() ; ++i) |
| | 8 | { |
| | 9 | if (i > 1) |
| | 10 | " "; |
| | 11 | tadsSay(lst[i]); |
| | 12 | } |
| | 13 | "]"; |
| | 14 | } |
| | 15 | |
| | 16 | main(args) |
| | 17 | { |
| | 18 | "<center><font size=+2 color=blue><i>Resource Test</i></font></center> |
| | 19 | <br><br><br> |
| | 20 | <b>Welcome to the resource test!</b> The point of this test is to |
| | 21 | try showing some images that are stored as embedded resources. So, |
| | 22 | here are a couple of pictures... |
| | 23 | <br> |
| | 24 | <center> |
| | 25 | <img src='test/larry.jpg'> |
| | 26 | <br> |
| | 27 | <img src='test/bill.jpg'> |
| | 28 | <br> |
| | 29 | <img src='test/about3.jpg'> |
| | 30 | </center> |
| | 31 | <br> |
| | 32 | That's about it! |
| | 33 | <br><br>"; |
| | 34 | } |
| | 35 | |