Now the documentation indicates I can do the following:

         import ("rowset")
        C_longint($rs)
         $rs := RowSet.newFromSelection(->[Whats New]; $map)

        <%
        $row := $rs->getRow
        while ($rs->next)
        %>

         <td>blah, blah</td>

        <%End While%>

However I get an error "($rs->next) - expecting an expression" when I run this

Can anyone explain this syntax (I do not understand WHY it should work) and any ideas why I get the error?

You don't need the import statement any more, it is done implictly if necessary when you use a full library.method form.

As for the syntax, it is correct. What's in $map?

The syntax $rs->next is what I am calling "Poor Man's Classes". Basically, you can treat a library as a class. I'll have this documented soon.

What does 'get version' return?

Regards,

   Aparajita
   Victory-Heart Productions
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to