Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#168 SET PENDING OFF not immediate

open
nobody
None
5
2008-04-30
2008-04-30
No

Hi,

I'm testing with 3.3 Beta 3 on Linux and Windows.

In a prefix macro, SET PENDING OFF should immediately change the pending list.

If you execute the following macro with TT1 followed by TT in the prefix area will show this is not the case.

-- Warren Van Wyck

/* PRFTEST Prefix macro

-- UVM Change History --
04/29/08 WVW: Version for THE 3.3B3 - testing
*/
trace o
/* trace r */
Parse Arg prefix_ind name ltype pline op1 rest
'MSG -------'
'MSG prefix: ' prefix_ind
'MSG ltype: ' ltype
'MSG pline: ' pline
'MSG opstring: ' op1
'MSG name: ' name
'MSG -------- '
'EXTRACT /Pending * :' || pline '*'

Do While pending.0 > 0
'MSG *****'
Do j = 1 To pending.0
'MSG pending.' || j pending.j
End
If op1 = '1' Then
'LOCATE :' || pending.1 'SET PENDING OFF'
n_line = pending.1 + 1
pending.0 = 0
'EXTRACT /Pending * :' || n_line '*'
End

Exit

Discussion

  • Logged In: YES
    user_id=254557
    Originator: YES

    I should add what the results of any example are using CMS Xedit (and what I expected with THE).

    Example:

    Enter in prefix area:

    tt1
    tt
    mm
    cc

    Results:

    The execution of tt1 lists tt, mm, cc as pending and then turns off pending for all three.

    So 'tt' (the second prefix macro) never executes.