RE: SCR_CURR() OR SCR_LINE()
Posted in 1999
Copied from page 188 of 4GL By Example, Answer On-Line. You can see that number 7 refers to SCR_CURR(). As far as I'm aware it should be SCR_LINE() unless anyone can tell me different. ;-) 6. Execute the INPUT ARRAY WITHOUT DEFAULTS statement to activate the array form for editing the rows in the program array. 7. Call the built-in ARR_CURR(), SCR_CURR(), and ARR_COUNT() functions in a BEFORE ROW clause to identify the current cursor position in the screen and program arrays. 8. Use the other clauses of INPUT ARRAY to perform data validation. -----Original Message----- From: Mark D. Stock [mailto:mdstock@mydas.freeserve.co.uk] Sent: Thu 21 October 1999 01:38 To: Robert Taylor Cc: informix-list@iiug.org Subject: Re: SCR_CURR() OR SCR_LINE() Robert Taylor wrote: > > I think I'm having a 'moment' haha. > > I was doing a bit of 4GL , and started writing some stuff with an INPUT > array etc. > Looking up the manual to refresh my memory I came across SCR_CURR() in the > By Example Manual which would apparently return the current line of the > Screen array. Eventually , when the compile error came up I started > scratcing my head, eventually I found it was actually SCR_LINE() I needed. I think you are mixing up arr_curr() and scr_line()! If you have found a mistake in an Informix manual then please report it to doc@informix.com. Cheers, -- Mark. +----------------------------------------------------------+-----------+ | Mark D. Stock http://www.informix.com |//////// /| | mailto:mdstock@mydas.freeserve.co.uk |///// / //| | http://www.iiug.org +-----------------------------------+//// / ///| | |What year 2000 bug? year 2000 bug? |/// / ////| | |year 2000 bug? year 2000 bug? year |// / /////| | |2000 bug? year 2000 bug? year 1900 |/ ////////| +----------------------+-----------------------------------+-----------+