pike.git/
CHANGES
Branch:
Tag:
Non-build tags
All tags
No tags
2002-11-24
2002-11-24 16:30:43 by Peter Bortas <zino@lysator.liu.se>
00c0dfc3a2f19f98dda42d8dabb69eb2c87e9538 (
63
lines) (+
43
/-
20
)
[
Show
|
Annotate
]
Branch:
7.9
More 7.4 changes.
Rev: CHANGES:1.29
24:
you may be familiar with from Tools.PV). o unbug
+
Embryo of a Pike debugger. Not stable nor finished.
o Unicode 3.2.0 All charts have been updated to Unicode 3.2.0. This applies both to
115:
sprintf("%O", a[*]); o Implicit lambda.
+
A convenient way to embed code that needs pre- and/or post-
+
initialization.
-
+
FIXME: Not stable. mast type here.
+
+
This example embeds OpenGL calls that modifies the matrix in an
+
implicit lambda that will save the matrix before execution and
+
restore it afterwards.
+
+
void PushPop( function f )
+
{
+
GL.glPushMatrix();
+
mixed err = catch(f());
+
GL.glPopMatrix();
+
}
+
+
PushPop() {
+
glTranslate( ((1.0-0.08)-pcs)/2, 0.0, 0.0 );
+
drawstuff();
+
};
+
+
o Access to hidden variables in surrounding scopes. Include the names of the surrounding classes themselves in the lookup for Foo::, to make it possible to adress hidden variables in the scopes of