Hello,
Firs question:
b.select(0@0, oid(b.count() - 3)).mark(0@0).reverse()
What is the meaning of such MIL code line?
I translate it to MAL like this: cnt := aggr.count(base);
On Mon, Dec 03, 2007 at 10:09:02PM +0100, Romulo Goncalves wrote: base ? b probably?
cnt := cnt - 3;
better calc.-(cnt,3)
oid := calc.oid(cnt);
Your asigning to a type (not sure if this is allowed/possible in m5) In m4 its silently ignored but later you'll get the type number when you use oid. Best is to rename your variable to for example id. sel := algebra.select(b, 0@0, id);
mrk := bat.markT(sel,0@0); c0 := bat.reverse(mrk);
Is the order correct? Because I am getting the following type Error: !TypeException:user.str2qgrams[26]:'algebra.select' undefined in: sel:any := algebra.select(b:bat[:str,:void], _31:oid, oid:oid)
Second question: Which function I should call for: b.reverse().seqbase(0@0);
In MAL I did rev := bat.reverse(b); base := bat.setBase(rev,0@0);
But the bat.setBase is comment in bat5.mal, so what function should I use?
markH
Third question: !SyntaxException:parseError: res := [+](c1, c2); !SyntaxException:parseError: ^operator expected batcalc.+(c1,c2);
How to resolve this error? I do not have any clue what is this about.
Regards, Romulo Niels
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- Niels Nes, Centre for Mathematics and Computer Science (CWI) Kruislaan 413, 1098 SJ Amsterdam, The Netherlands room C0.02, phone ++31 20 592-4098, fax ++31 20 592-4312 url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl