I have idst (from trunk) compiled on a Mac and am playing around with some 
code. 
I have a simple program where I'm invoking some code as part of a sql query. 
The 
query execution is in C which results in a callback function ("callback") being 
invoked. If the callback code is in C then everything works as expected. What 
I'd like is to pass a block to the query as shown below and have the callback 
invoke the block.


     SQL exec: query withBlock: aBlock
     [
          | _query | 
          _query := query _stringValue.
         { test_exec((char *) v__query, callback); }
     ]

     [
         db := SQL new.
         db exec: "select * from emp" withBlock: [ ... ].
     ]

Thanks. 

--Sachin.
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to