still not sure what to do about this. This cannot work now:
x.[i] += 1;
where x is a C-array, because the subscript function cannot return
an lvalue (since they don't exist). It could return a pointer, and we
could
make it so
p + 1
actually means
*p + 1
Normally deref and store are the only operations allowed on pointers,
addition (as in C) isn't allowed. At present
a.[i] = 1;
only works because of a hack: Felix doesn't bother to actually check
the LHS here is legal. This should mean
&a.[i] <- 1;
which would fail, but assignment is simply delegated to C.
--
john skaller
[email protected]
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language