hexagon logo

Pass an Input Comment to a Tracefield

Ok I forgot the code for this and what I looked up in the search has not worked thus far.

V3.7 MR3
9-12-9 Xcel
Shapre 32 Controller

I tried a couple different combinations but I could not get my input comment to pass to my tracefield.

Here is what I have tried

C1 = COMMENT/INPUT,YES,'ROUTE #'
TRACEFILED/NO_DISPLAY,LIMIT=15; : C1.INPUT

C1 = COMMENT/INPUT,YES,'ROUTE #'
TRACEFILED/NO_DISPLAY,LIMIT=15; : +C1.INPUT

I also tried passing the input comment to a variable then to the tracefiled.

C1 = COMMENT/INPUT,YES,'ROUTE #'
ASSIGN/V1, C1.INPUT
TRACEFILED/NO_DISPLAY,LIMIT=15; : V1

C1 = COMMENT/INPUT,YES,'ROUTE #'
ASSIGN/V1, C1.INPUT
TRACEFILED/NO_DISPLAY,LIMIT=15; : +V1

TIA
Parents
  • This works here at 3.7:

    STATION_IN =COMMENT/INPUT,YES,'Station # '
                STATS/ON,DATAPAGE,$
                DIRECTORY=P:\DATAPAGE\GKN,$
                DIRECTORY=,$
                READ=20,WRITE=20,MEMPAGES=256,DIMENSION NAME,CONTROLCALC ON,$
                STATS/END
                TRACEFIELD/NO_DISPLAY,LIMIT=15 ; Station : STATION_IN.INPUT
    


    The tracefield line must come after the stats on to "take" !

    TK
Reply
  • This works here at 3.7:

    STATION_IN =COMMENT/INPUT,YES,'Station # '
                STATS/ON,DATAPAGE,$
                DIRECTORY=P:\DATAPAGE\GKN,$
                DIRECTORY=,$
                READ=20,WRITE=20,MEMPAGES=256,DIMENSION NAME,CONTROLCALC ON,$
                STATS/END
                TRACEFIELD/NO_DISPLAY,LIMIT=15 ; Station : STATION_IN.INPUT
    


    The tracefield line must come after the stats on to "take" !

    TK
Children
No Data