When I build an application using sc_lookup () macro
generates a wrong code
if ($rx = $this->Db->Execute($nm_select)){$y = 0;$nm_count = $rx->FieldCount();while (!$rx->EOF){for ($x = 0; $x < $nm_count; $x++){$this->tcom[$y] [$x] = $rx->fields[$x];}$y++;$rx->MoveNext();}$rx->Close();}elseif (isset($GLOBALS["NM_ERRO_IBASE"]) && $GLOBALS["NM_ERRO_IBASE"] != 1){$this->tcom = false;$this->tcom_erro = $this->Db->ErrorMsg();}
is fail because [$y] [$x] not is [$y][$x]