[GAP Forum] A strange error

Mathieu Dutour Mathieu.Dutour at ens.fr
Mon Jul 16 16:34:15 BST 2007


Dear Gap forum,
see below a program that creates a strange error.
---------------------------------------------
n:=4;
for i in [1..n]
do
  eMat:=4;
  H:=List([1..n], x->x*i*eMat);
od;
---------------------------------------------
running it with "gap.sh TheProg" produce the following message:
.
.
Syntax error: warning: unbound global variable in BugSearch line 5
  H:=List([1..n], x->x*i*eMat);
                             ^

Why is it so?

  Mathieu

-- 
Mathieu Dutour Sikiric		Researcher in Mathematics
Telephone:.(+385)1 4571 237	and Computer Science
Cell Phone: (+385)9 19 36 30 80	Laboratory of satellite oceanography
E-mail: Mathieu.Dutour at ens.fr	Rudjer Boskovic Institute
http://www.liga.ens.fr/~dutour	Zagreb Croatia
skype name: mathieudutour



More information about the Forum mailing list