
07-15-2010, 09:28 PM
You can look at my clock program in my signature if you want to.
To make a variable into a string of characters, you have to use the world.function called "(what) as a string" or something like that. Then for the variable "(what)", you will put in the world.hour variable. Oh, you will probably also want to use the function to concatenate (join together) two strings, it should be near the function I just explained. You might have to use it several times, just try different things and see what works (use your brain, shouldn't be too hard at all). You will join together whatever you want to say with the "(world.hours) as a string" function, and then maybe some other string after that if you want to.
Hope it helped, if you are still confused ask and I will do an example.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
|