﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
96	Variables out of scope	jlaybar	danirus	"This code should return global x and y instead of a and b

Matrix a = Row(0,0);
Matrix b = Row(1,1);

Matrix x = Row(2,2,2);
Matrix y = Row(3,3,3);



Matrix fun1( Matrix q, Matrix p)
{
WriteLn( "" q:[[""<<q+""]]""+NL+""p:[[""<<p+""]]"");
WriteLn( ""-------------------------------------------------------------"");
WriteLn( "" TOL SE VUELVE MAJARA Y ASIGNA MAL LAS VARIABLES 
GLOBALES""+NL);
WriteLn( ""Asignacion Incorrecta: ""+NL+""x:[[""<<x+""]]""+NL+""y:[[""<<y+""]]"");
WriteLn( ""-------------------------------------------------------------"");

 p+q+x+y

};



Set  fun2( Matrix p, Matrix q)
{
  Matrix fun3( Matrix x, Matrix y)
          {
           fun1(x,y)
          };
 Matrix out = fun3(p,q);
WriteLn( ""q:[[""<<q+""]]""+NL+""p:[[""<<p+""]]"");
WriteLn( ""Asignacion Correcta:""+NL+""x:[[""<<x+""]]""+NL+""y:[[""<<y+""]]"");

 [[ p,q,x,y, out]]
};


Set  salida = fun2(a,b);"	defect	closed	normal		Kernel	head	normal	fixed		Alfredo Torre
