#84 ZSEARCH in Virtualbox

open
nobody
None
5
2012-12-29
2010-10-27
Jens Wulf
No

There seems to be a problem in the combination virtualbox/GT.M 5.4 with the $ZSEARCH-function.

TEST
MR S DAT="/usr/bin/*"
F S FILE=$ZSEARCH(DAT) Q:FILE="" W FILE,!
Q

>D MR^TEST

...
/usr/bin/dh_installppp
/usr/bin/dh_installudev
/usr/bin/dh_installwm
/usr/bin/dh_installxfonts
/usr/bin/dh_installxmlcatalogs
%GTM-E-UNDEF, Undefined local variable: (/usr/bin/
dh_installxmlcatalogs)
At M source location MR+1^KTEST93

this happens in directories with many files.

Version 5.3.004 doesn't show this behaviour.

Jens

Discussion