Previous appendix To contents Next appendix

Appendix F, How to convert from old versions of Pike

This appendix contains some information about keywords, functions and old behavior. But there are only information about migration from old an old Pike to a new one, not the other way around.
GIF-methonds in Image-objects.
A lot of old GIF-methods are replaced with the Image.GIF-module.
Image.image
It is now Image.Image.
PNM-methonds in Image-objects.
PNM-methods are replaced with the Image.PNM-module.
query_host_name
This is no longer a global function but is still present in the Simulate-module.
Stdio.readline
See Stdio.Readline. You can replace readline with Stdio.Readline()->read generally.
varargs
The former keyword varargs is now removed. The syntax now is like void foo(string ... bar) {write(foo*"\n"+"\n");}.

Previous appendix To contents Next appendix