12-08-2017, 05:31 PM (This post was last modified: 12-08-2017 05:34 PM by Tim Wessman.)
Post: #1
 Tim Wessman Senior Member Posts: 2,284 Joined: Dec 2013
If you feel you have a problem with FREEZE, please post your code. I have investigated this and not found any issues that I can see. Thanks!

Note, FREEZE does not pause and stop. The only thing it does is flag the screen to not redraw next pass through the main loop. If something triggers it outside of the clock (which it handles and avoids drawing in a clock redraw situation) then it will draw.

TW

Although I work for HP, the views and opinions I post here are my own.
12-08-2017, 05:35 PM
Post: #2
 Carlos295pz Senior Member Posts: 365 Joined: Sep 2015
Code:
EXPORT Test BEGIN   RECT;   FREEZE; END;

Viga C | TD | FB
12-08-2017, 05:54 PM
Post: #3
 toml_12953 Senior Member Posts: 1,949 Joined: Dec 2013
(12-08-2017 05:31 PM)Tim Wessman Wrote:  If you feel you have a problem with FREEZE, please post your code. I have investigated this and not found any issues that I can see. Thanks!

Note, FREEZE does not pause and stop. The only thing it does is flag the screen to not redraw next pass through the main loop. If something triggers it outside of the clock (which it handles and avoids drawing in a clock redraw situation) then it will draw.

FREEZE never keeps the graphics displayed at the end of a program. Any program that displays graphics and ends with FREEZE will show you the problem. FREEZE used to keep the graphic displayed until the user pressed any key. Now the graphic flashes on the screen and the program ends.

Tom L
Cui bono?
12-08-2017, 06:31 PM
Post: #4
 Tim Wessman Senior Member Posts: 2,284 Joined: Dec 2013
You mean when executed from the program catalog? Or some other place?

TW

Although I work for HP, the views and opinions I post here are my own.
12-08-2017, 07:17 PM
Post: #5
 toml_12953 Senior Member Posts: 1,949 Joined: Dec 2013
(12-08-2017 06:31 PM)Tim Wessman Wrote:  You mean when executed from the program catalog? Or some other place?

Either by executing from the catalog or typing the name at the Homes screen.

Tom L
Cui bono?
12-08-2017, 07:27 PM
Post: #6
 Tim Wessman Senior Member Posts: 2,284 Joined: Dec 2013
Ok - found it.

The problem was that it didn't for all platforms always behave this way and you'd have to do something to get the misbehavior to start. If you connected to the connkit on windows for example was the only way to get the misbehavior. It would then continue after. On the mac, it would redraw 1 time a second or so roughly causing it to appear to not be working.

Thanks!

TW

Although I work for HP, the views and opinions I post here are my own.
12-10-2017, 02:08 PM (This post was last modified: 12-10-2017 02:40 PM by compsystems.)
Post: #7
 compsystems Senior Member Posts: 1,341 Joined: Dec 2013
the program freezes or crashes.

Another problem with the HPCK is that the program editor the tabulation character shows many spaces, the tabulation in python-type codes is important

PHP Code:
#casdef fractal_python(W,H,N):    local x,y,z,c,j,t,col    for x in range(W):        for y in range(H):            z=0            c=2.7*x/(W-1)-2.1-i*(1.87*y/(H-1)-.935)            j=0            while j<N and abs(z)<2:                j=j+1                z=z*z+c            //end while            t=255j/N            col=RGB(IP(t),IP(.75*t),IP(.25*t))            PIXON_P(x,y,col)        //end for    //end for    FREEZE    WAIT(0)#end
12-10-2017, 02:55 PM
Post: #8
 Dirk.nl Member Posts: 194 Joined: Apr 2015
Compsystem, what has “the program editor the tabulation character“ to do with FREEZE ???

— Dirk Hartland
12-10-2017, 03:55 PM
Post: #9
 Carlos295pz Senior Member Posts: 365 Joined: Sep 2015