|
John (and all others who responded), thanks, this did the trick. Peter Colpaert Application Developer Honda Europe NV Langerbruggestraat 104 B-9000 GENT Belgium Peter.Colpaert@xxxxxxxxxxxx Tel: +32 9 2501 334 Fax: +32 9 2501 231 ---------- Yoda of Borg are we: Futile is resistance. Assimilate you, we will. ---------- "John Larimer" <jklarimer@xxxxxxxxxxx>@midrange.com on 25/02/2003 16:46:53 Please respond to CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx> Sent by: code400-l-bounces@xxxxxxxxxxxx To: code400-l@xxxxxxxxxxxx cc: Subject: Re: Roll amount Oops, guess I should test before I hit the send button.... The set commands are: 'set ACTION.PGUP MACRO SEUSCRLL SHU' 'set ACTION.PGDN MACRO SEUSCRLL SHD' The SEUSCRLL.LX macro has a bug and I fixed with the following: /* --------------------------------------------------- */ /* Macro SEUSCRLL: Simulate SEU scrolling options */ /* Parameters: SCD - Scroll down to cursor line */ /* SCU - Scroll up to cursor line */ /* SHD - Scroll down by half a page */ /* SHU - Scroll up by half a page */ /* --------------------------------------------------- */ /* -------------------------------------------------------------- */ /* 08/18/99 JKL */ /* The original shipped from IBM had problems when the line */ /* number was odd. I added the 'TRUNC' function and that solved */ /* the problems. */ /* -------------------------------------------------------------- */ parse upper arg option . if (option = 'SCD') then do 'EXTRACT CURSORROW' 'SCROLL DOWN' CURSORROW - 1 end else if (option = 'SCU') then do 'EXTRACT CURSORROW' 'EXTRACT DISPDEPTH' 'SCROLL UP' DISPDEPTH - CURSORROW + 1 end else if (option = 'SHD') then do 'EXTRACT DISPDEPTH' dispdepth = trunc((dispdepth / 2)) 'SCROLL DOWN' DISPDEPTH end else if (option = 'SHU') then do 'EXTRACT DISPDEPTH' dispdepth = trunc((dispdepth / 2)) 'SCROLL UP' DISPDEPTH end ______________________________________________________________________ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or the entity to whom it is addressed and others authorised to receive it. If you have received it by mistake, please let the sender know by e-mail reply and delete it from your system. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. Honda Europe NV is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.