Post Reply 
FREEZE instruction
01-12-2014, 12:35 AM
Post: #1
FREEZE instruction
Here's the code;
Code:
EXPORT Test()
BEGIN
STARTVIEW(-1,1);
TEXTOUT("1: Var1 ",-15,9);
FREEZE;
//WAIT(0);
TEXTOUT("1: Var2 ",-15,7);
//FREEZE;
TEXTOUT("1: Var3 ",-15,5);
//FREEZE;
END;

FREEZE definition;
Pauses program execution until a key is pressed. This
prevents the screen from being redrawn after the end of
the program execution, leaving the modified display on
the screen for the user to see.

Well... It does appear to FREEZE the screen, After it prints all 3 vars. If I put WAIT(0) in the code, it waits at var 1, then prints var2 and var3 and then FREEZE's?. I'm somewhat confused. Is this the intended behavior of the FREEZE instruction?
rcf
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
FREEZE instruction - Bob Frazee - 01-12-2014 12:35 AM
RE: FREEZE instruction - Han - 01-12-2014, 12:40 AM
RE: FREEZE instruction - patrice - 01-12-2014, 04:12 AM



User(s) browsing this thread: 1 Guest(s)