Fellow ChucKists,<br><br>This is runs;<br><br><<<-1 * second>>>;<br><br>Hence we know that negative durations are fine. This, on the other hand causes a problem;<br><br><<<-1::second>>>;<br>
<br>We can get around that by using this;<br><br><<<(-1)::second>>>;<br><br>That one does run but it also seems very clumsy to me.<br><br>I'm getting the impression that for durations expressed like -3::second the minus sign somehow isn't a part of the number while elsewhere it is. This doesn't strike me as very coherent.<br>
<br>While I was testing some other things around negative durations I noticed that this will crash with seg-fault;<br><br>second -=> now;<br><br>Admittedly it would be a type of expression that would only be useful with negative durations... Probably quite rare but it shouldn't crash the whole VM like that.<br>
<br>Yours,<br>Kas.<br>