VERBatim - V16
@ATTACK - @Int.Const
@ATTACK - @Move.Keys
@ATTACK - @Priority.Int
@ATTACK - @Macro.Mode
Uncommon Knowledge - WC_Unkeys%
Utility Diskette # 3 - Part I
Utility Diskette # 4
@ATTACK - @Attrbt.Ptr
@ATTACK - @Query.Table
REVMEDIA Revisited
Uncommon Knowledge - WC_Table_Exit_Mode%
QTIPS - New Catalyst Option
Version 3 Technical Highlights - Deleting Tables Programmatically
Version 3 Technical Highlights - Aliasing Tables Programmatically
Version 3 TCL Subroutines - Creating Tables
Version 3 TCL Subroutines - Deleting Tables
Version 3 TCL Subroutines - Aliasing Tables
Symbol Table Structure
QTIPS - Command Line Options
Customising the Status Line
@ATTACK - @Scribe.State
Reader's Clinic - Scribe Replace Processes in Window
RTP Series - RTP50
@ATTACK - @Messages
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Caching in on the Frames Array - Mike Pope
RTP Series - RTP42
VERBatim - V65
Argument passing - Subroutines and Functions - Mike Pope
SecureUser
VERBatim - V25
@ATTACK - @Files.System
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
REVMEDIA Revisted
Bugs and PCs - Indexing 01 vs 1
VERBatim - V77
Index Sub Revisited
Indexing on Xlates
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Simple Security
Batch.Indexing
QTIPS - Batch.Indexing Close Down
What's New (and un(der)documented!) In 2.12
Reader's Clinic - LCEdit and SCRIBE
Reader's Clinic - LCEdit and SCRIBE
QTIPS - Finding/Replacing Spaces With The Editor
Popups
Catalyst Tips
RTP Series - RTP25
RTP Series - RTP27
QTIPS - Printing Large Variables from the Debugger
VERBatim - V87
@ATTACK - @TCL.Stack
RTP Series - RTP27
QTIPS - Printing Large Variables from the Debugger
VERBatim - V87
Vroom
RTP Series - RTP32
Utility Diskette # 3 - Part I
Reader's Clinic - Page Marks in Windows
Argument passing - Subroutines and Functions - Mike Pope
Caching in on the Frames Array - Mike Pope
QTIPS - Fast Dynamic Array Building
QTIPS - @Date.Format
@ATTACK - @Date.Format
QTIPS - Short Cut Implicit Formatting
Utility Diskette # 4
QTIPS - Suppressing Initial Form Feed
QTIPS - Using RTP29 In Place of V6
Reader's Clinic - Screen Width
Screen Grabber
Reader's Clinic - Slow Multivalued Screen Display
Utility Diskette # 4
Reader's Clinic - RList Column Names
Reader's Clinic - Blank Column Headings in RLIST
QTIPS - Column Heading Limit
VERBatim - V2
Viewer
@ATTACK - @Browse.Mode
@ATTACK - @File.Error.Mode
@ATTACK - @Macro.Mode
QTIPS - Using INIT.VIEW with Printers
@ATTACK - @Scroll.Mode
@ATTACK - @View.Mode
QUERY.SUB
What's New (and un(der)documented!) In 2.12
A RevTI Techie Replies - Mike Pope - Revelation Technologies (UK) Ltd
Reader's Clinic - Line Length > 256 Characters
QTIPS - String Space
QTIPS - String Space Format Errors
Reader's Forum - Numeric Precision in R/Basic - Hal Wyman
QUERY.SUB
QTIPS - Query Windows - Changing Colours
Readers Clinic - Quickly Coping with \
Playing with Scan Codes
QTIPS - Compiling Protection Code
QTIPS - Invalid Code and Command
QTIPS - Code/Command Help
Compiling 64K on a Shoestring by Blaise Wrenn (LexStat Systems Ltd)
Bugs and PCs - Indexing 01 vs 1
RTP Series - RTP33
@ATTACK - @Modal

RevMedia FKB

DocumentV4I6A1
TitleReader's Clinic - LCEdit and SCRIBE
KeywordsLCEDIT
SCRIBE
TextCharles Sherbow recently asked "When you edit a DOS table normally it is all
on one line Then you press Shift+F7 and the table is vertical in nature
When you leave the table and come back it is still in the state that you
left it How do you check to see if a table is in the "vertical" or
"horizontal" mode? Where are the variables?"

Scattered throughout memory are a number of LABELLED common areas maintained
by the system for things such as indexing and editing One of these is
called LCEDIT and takes five parameters as follows

/LCEdit/ LastPopupRow Unknown EditCount RowsEdited ScribeState

LastPopupRow The row of the editor softkeys popup last selected

Unknown As yet unknown

EditCount How many copies of the editor have been called currently
(equal to the number of times EDIT occurs on the return stack
Note that this is not how many times EDIT appears on the
program stack it is loaded only once)

RowsEdited A field mark delimited array identifying the rows which have
been edited in the format Table*Row E G VOC*LISTTABLES

ScribeState A Char(247) delimited array of information about each of the
editing sessions identified in RowsEdited Within each
element individual characteristics are delimited by @RMs
The array values are as follows (Using <> to indicate @RMs
not @Fms)

< 1 > Apparently unused
< 2 > A flag indicating whether the delimiter being used
for editing is a field mark or record mark (0 or
null) or Carriage Return/Line Feed (1)
< 3 > Row position of the line at the top of the current
screen
< 4 > Row position of the CURSOR
< 5 > Column position of the character at the start of
the CURRENT line
< 6 > Column position of the CURSOR
< 7 > A flag indicating whether the CURSOR is in
destructive (0) or non destructive mode (1)
< 8 > A flag indicating whether Insert (1) or Overwrite
(0) is enabled
< 9 > String last searched for WITH a Ctrl F/Ctrl R
< 10 > Replacement string for Ctrl R
< 11 > Apparently unused
< 12 > Row position at start of block
< 13 > Row position at end of block

Thus to answer Charles' query one could use a code segment such as :

Common /LCEdit/ LastPopupRow Unknown EditCount RowsEdited ScribeState
Locate Table:"*":Row In RowsEdited USING @Fm SETTING Pos Then
RowInfo = Field(ScribeState Char(247) Pos)
RowIsDosFmt = Field(RowInfo @Rm 2)
If RowIsDosFmt Then Call Msg("Yup") Else Call Msg("Nope")
End Else
Print Char(7) :
End


(Volume 4 Issue 6 Pages 4 5)
[revmedia/copyrigh.htm]

Page last modified: 31/01/03