[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2870.0. "V3.0 programming problems" by ZPOVC::CHINGYUE () Wed Jun 16 1993 11:24

    I've just upgraded customer's ALL-IN-1 to V3.0 and encountered
    programming problems.
    
    It seems that ".DISPLAY file" no longer work in v3.0 . It give
    some kind of syntax error.
    My workaround was to use "LIST" instead of ".DISPLAY" 
    but "LIST" refreshes the screen after <CR>. Customer wants the
    screen displayed while authorising the task.
    
    Why isn't ".DISPLAY" working in v3.0? Any workaround ?
    
    There were lots of compilation errors for Scripts with "IF THEN"
    statements. Workaround was to add "-" as the delimeter.
    
    All the above works fine in v2.4.  Has the compiler been changed ?
    May I have a list of all the changes to prepare for future upgrades ?
    
    
    A little bit confused ... ching-U   
T.RTitleUserPersonal
Name
DateLines
2870.1V3.0: Syntax .DISPLAY [line-sym][,col-sym,] file-name-symbolIOSG::HULINIan Hulin, IOSG: REO, DTN 830-6141Wed Jun 16 1993 11:4813
.DISPLAY takes symbols as parameters in V3.0.  The documentation does not
reflect this, but this has been IPRed and should be fixed for the PFR.

Either use LIST as a work-round or change the .DISPLAY in your example to be 
.DISPLAY "my-file-spec"
         ^            ^

Don Vickers raised this problem shortly before sadly being declared anathema and
hurled in into the uttermost non-Digital void by the powers of Darkness . . .

Cheers,

Ian
2870.2.DISPLAY doesn't work under 3.0 and pointer to other questionTINNIE::SETHIAhhhh (-: an upside down smile from OZWed Jun 16 1993 12:0424
    Hi Ching-U,
    
    >It seems that ".DISPLAY file" no longer work in v3.0 . It give
    >some kind of syntax error.
    
    I have just tested this it works under 2.4 and you get a syntax error
    under 3.0 " %OA-W-SCPSYNTAX, Incorrect syntax in SCRIPT command:      
     .display [-]login.com".
    
    >There were lots of compilation errors for Scripts with "IF THEN"
    >statements. Workaround was to add "-" as the delimeter.
     
    You will find that the .IF THEN construct has changed and the "ELSE"
    has been introduced and hence the problems with the ".IF THEN".  See
    topic "Rules of Syntax" 80.4 for DO scripts 80.5 and 80.11, which
    appears to correct a slight mistake in 80.4 :-).
    
    I can't answer the .display question apart from saying I have tested
    here and it does not work under 3.0 !!!
    
    Regards,
    
    Sunil 
    
2870.3ThanksZPOVC::CHINGYUEWed Jun 16 1993 12:455
    Ian and  Sunil, thanks for the speedy response.
    Since I've got no v3.0 here, will test out Ian's suggestion of
    .DISPLAY at customer's site tomorrow.
    
    ching-U
2870.4DISPLAY "file name" worksTINNIE::SETHIAhhhh (-: an upside down smile from OZThu Jun 17 1993 04:031