[sv-ac] $past syntax error

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Sep 14 2006 - 03:04:22 PDT
  

The syntax of $past is described in 17.7.3 and 22.9 as 

$past( expression1 [, number_of_ticks] [, expression2] [,
clocking_event])

This is not precise as it both implies that the 3rd or 4th argument may
be present without at least the commas preceding the preceding
arguments, and also does not show that the actual argument may be
omitted as long as at least the comma is present (at least for the 2nd
and 3rd arguments).

A more precise syntax (though harder to read) is

$past( expression1 [, [number_of_ticks] [, [ expression2]  [,
clocking_event]]] ) or

$past( expression1 [, [number_of_ticks] [, [ expression2]  [,
[clocking_event]]]] ) .

The difference between the two is whether clocking_event may be omitted
if the last comma is present.

This is Mantis 1591.

Shalom

 

Shalom Bresticker

Intel Jerusalem LAD DA

+972 2 589-6852

+972 54 721-1033

I don't represent Intel 

 



image001.gif
Received on Thu Sep 14 03:05:46 2006

This archive was generated by hypermail 2.1.8 : Thu Sep 14 2006 - 03:06:09 PDT