On Sun, 9 Mar 2008, Allin Cottrell wrote:
I've found and fixed a nasty bug lately...
To clarify: this bug was new in 1.7.3; the breakage occurred in a
CVS commit on February 6. Also, the changes in current CVS are
summarized as follows:
- Fix for ADF-GLS test with missing values
- Fix for detection of unit-diagonal matrix (oops!)
- Add $fcast and $fcerr accessors for use with fcasterr
- Autocorrelation test: use Kiviet's original 1986 formula
for the LMF statistic
- system command: enable naming of systems in the manner
"sysname <- system"
- system command: several other changes (write this up when
done)
- remove obsolete commands: fit, multiply
- consolidate the commands corc, hilu and pwe into one new
command with options: ar1
- merge with fcasterr command with fcast
- Fix for the case of graphing 6 time series together
- Fix bugs 1908139, 1909469
- Fix documentation of $stopwatch
- Move handling of strings into "genr"
- Fix sub-sampling bug (which was new in 1.7.3)
The changes to commands mentioned above (ar1, fcast) should mostly
be user-invisible: I've kept the old forms (e.g. "corc",
"fcasterr") as aliases for the present. The exception is
"multiply", which struck me as very ad hoc and which is gone
altogether.
The new handling of string variables may require changes to some
scripts but it's definitely an improvement. You now use the
"@varname" form of a string variable (with '@' prepended) only
where the variable should be treated as a macro -- that is, the
value of the variable should be dumped directly into the command
line before execution. Otherwise you give the plain name of the
variable. Example script:
open data4-1
string s1 = "test"
# make a copy of s1:
string s2 = s1
# use s1 in printf:
printf "s1 = '%s'\n", s1
# use s1 as a macro:
series @s1 = sqft^2
# print the value of s1:
print "@s1"
# but more easily...
s1
# length of s1
printf "s1 is %d characters\n", strlen(s1)
Allin.