On Fri, 2010-12-10 at 20:03 +0300, Andrew Makhorin wrote:
> > The error I am receiving is:
> > diettable.mod 16:argument expression has invalid type
> > 
> > Context: {NUTR, FOOD} >= 0; table f IN '...'...'...' NUTR <-
> > 
> > I also attached the excel file I am trying to read from.
> 
> [...]
> 
> >         
> >         table f IN 'ODBC' 
> >         'Driver={Microsoft Excel Driver (*.xls)};dbq=newdiet.xls'
> >         'SELECT * FROM [Nutr$]'
> >         NUTR <- [NUTR],n_min,n_max;
> 
> I think you missed a semicolon before NUTR:
> 
> table f IN 'ODBC' 
>         'Driver={Microsoft Excel Driver (*.xls)};dbq=newdiet.xls'
>         'SELECT * FROM [Nutr$]' :
>         NUTR <- [NUTR],n_min,n_max;
>         

That is, a colon (:), not a semicolon, of course.


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to