| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 1991.1 | I don't think so | CESARE::EIJS | All in 1 Piece | Fri Dec 18 1992 15:18 | 21 | 
|  |     
    Hi Elin,
    
    I'm afraid it won't work. Even:
    
    	.fu get oa$function = ".if #START == #START then .goto " #START
    
    doesn't work.
    
    You're probably best of by:
    
    .clear 24,1
    .fu get #START = <whatever>
    .if #START = 1 then .goto 1
    .if #START = 2 then .goto 2
    
    but this requires that you know the possible values of #START.
    
    Ciao,
    
    	Simon
 | 
| 1991.2 | CASE function ???? | GIDDAY::SETHI | Man from Downunder | Sun Dec 20 1992 22:18 | 6 | 
|  |     Hi All,
    
    I wonder if in a future release we could have a CASE function ?  Just a
    thought.
    
    Sunil
 | 
| 1991.3 | Try to get .JUDGE to work | HVNBND::WARFORD | Richard Warford @CEO DTN 367-5455 | Mon Dec 21 1992 13:39 | 9 | 
|  |     Well you sort of have one now....
    
    The .JUDGE works like a case... Except it requires the value to be
    checked to be in the symbol OA$SCRIPT_PSIB. This used to be writeable
    but in V2.4 was apparently made read only or something.... If your
    dealing with user input from a SCRIPT script it will work fine...
    Or you might try adding OA$SCRIPT_PSIB to the writable symbol table.
    
    Rick
 | 
| 1991.4 | A wish for a PFR | COPCLU::ELIN | Elin Christensen @DMO, DTN 857-2406 | Wed Dec 23 1992 10:28 | 19 | 
|  |     re .1
    
    The customer right now uses .IF directives, but with 20 possible values
    of #START he has to write 20 .IF directives 
    - that would not have been nescessary if .GOTO could translate a
    symbol.
    
    In that case we would have been able to 
    omit all the .IF directives, 
    prompt the user for a string, 
    assign that string to the symbol #START, and
    .GOTO #START 
    
    
    Well, I accept that symbols cannot be used in .GOTO directives in v3.0.
    Is there a chance for a change in this functionality in a PFR?
    
    Elin
    
 |