Re: [q-lang-users] Q 7.8 RC1 is out
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2007-10-04 10:06:55
|
Albert Graef wrote: > The only known backward compatibility issues are due to the new slim > prelude. You are kindly asked to check your scripts with -w to see > whether any of the following explicit imports may be needed with the new > version: getopt.q, stdtypes.q, system.q. More precisely: - If your program uses the getopt function: import getopt; - If your program uses any of the POSIX system functions: import system; (Usual/most likely suspects are: regex, glob/fname, ctime/localtime, socket, open, system, exec, rename/unlink/chdir.) - If your program uses any of the Array, Bag, Dict, HDict, Heap and Set types: import stdtypes; (Or 'import array', 'import bag', etc., if you don't need the entire container collection.) You'll have to add the necessary import clauses to every module in your program which produces a warning message about an undeclared function symbol with -w. (Quick method: Just adding 'import getopt, system, stdtypes;' at the beginning of each script should make *all* old scripts work, simple as that.) HTH, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |