Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Hey there... thanks for the software first of all.
Why is that when I defiene:
result := self.cartaoCredito;
and then load the propor .use file and .soil fail and execute in the
console "!@reserva1.pagar()" no output regarding to the return parameter
is given? And what if I wanted to use this return in a query? Like
Thanks in advance.
You can capture the result in a variable
! x := @reserva1.pagar()
In general, USE does not not allow to call imperatively defined operations inside queries, that is why
does not work, since USE does not assume that pagar() is side-effect free.
However, you can run USE with the switch -XsoilOpInOCL:ALL, then imperatively defined operations can be called as queries, too.