as Ashingda27 said. it will freeze up, so here is a code example of a non freezing solution.
I tried to explain briefly as its the middle of the night, so it might not make sense, or written poorly.
as for the limitations, im sure you aren't aloud to use if for commercial use. an a few other things that i cant remember right now..
set window on
Set window size 800,600
`ONLY WORRIE ABOUT THIS CODE BELOW!!
Time = Timer() ` make sure you set the time here so in the loop it can check if its 1 second. then inside the if statement it will reset this variable to the new time. (this is used to check the time once *first time its run*)
Do
`DONT WORRIE ABOUT THIS CODE BELOW!! -- for demonstration purposes - to show that the timer code works.
Ink RGB(RND(255),RND(255),RND(255)),0 ` changed the color of the text. RGB = red/green/blue 0-255 0 is black, 255 is pure colour of R, G or B.
line 200,RND(600),RND(600)+200,RND(600) ` RND = randomize. Line makes a line. first x position/first y position/ second x pos/ second y pos (in pixels)
`DONT WORRIE ABOUT THIS CODE ABOVE!! -- for demonstration purposes - to show that the timer code works.
`ONLY WORRIE ABOUT THIS CODE BELOW!!
`Timer gets the current system time.
If Timer() >= Time + 1000 ` if the current time is greater then the OLD variable Time + 500 milliseconds (half of a second) it will print... and then it will reset the variable Time, and repeat this process
Ink RGB(255,0,0),0 `changed the colour of the text, so you can the white lines in the background, and the red text in the forground.
Print "every 1 second hehe"
Time = Timer() ` Old time = Time variable.
Endif
Loop
and here your code.
set window on
Set window size 800,600
Text$ = "print this"
Time = Timer()
Do
`DONT WORRIE ABOUT THIS CODE BELOW!! -- for demonstration purposes - to show that the timer code works.
Ink RGB(RND(255),RND(255),RND(255)),0
line 200,RND(600),RND(600)+200,RND(600)
`DONT WORRIE ABOUT THIS CODE ABOVE!! -- for demonstration purposes - to show that the time
If Timer() >= Time + 1000
If i <= Len(Text$)
i = i + 1
Endif
Ink RGB(0,255,0),0 `pure green
text i*10,0,mid$(text$,i)
Time = Timer() ` Old time = Time variable.
Endif
Loop
anyways, hopefully you somewhat understand it, im going to bed