Reader's Clinic - Functions and Subroutines
Argument passing - Subroutines and Functions - Mike Pope
Background Processing
Vroom - Window Processing
VROOM - Window Processing II
@ATTACK - @Return.Value
VERBatim - V39
Esc.To.Exit
Reader's Clinic - Page Marks in Windows
Prompt Help
Reader's Clinic - Scribe Replace Processes in Window
VERBatim - V77
Batch.Indexing
QTIPS - Batch.Indexing Close Down
What's New (and un(der)documented!) In 2.12
Creating Your Own Background Processes
@ATTACK - @Last.Select.Process
Reader's Forum
QTIPS - Menu Item Pre-Processing
Merge Processor
SecureUser
VERBatim - V86
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Reader's Clinic - AREV Runtime
QTIPS - Compiling Work around on runtimes
QTIPS - Runtime Version
Window or Not ?
Vroom - Window Processing
QTIPS - Window Symbol Tables
VROOM - Window Processing II
@ATTACK - @HW
Uncommon Knowledge - WC_Reset%
Reader's Clinic - Related Windows
Window or Not?
Reader's Clinic - Scribe Replace Processes in Window
Soft Windows
QTIPS - Window Bug and Debugging Window Bug
Overlapping Windows And Window Menus
QTIPS - New Catalyst Option
QTIPS - Collectors on the fly
QTIPS - Blank Menus in Windows
QTIPS - Moving Objects the EASY way.
RTP Series - RTP18
RTP Series - RTP18.english
VERBatim - V39
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
REVMEDIA Revisited
VERBatim - V39
VERBatim - V122
VERBatim - V123
Index Sub Revisited
@ATTACK - @Sentence
@ATTACK - @Rollout.File
QTIPS - File Variable of File In SELECT Statement
Reader's Clinic
Reader's Clinic - Template Name at Pre-Init
QTIPS - Replacing GAS.BAR routine during PERFORM "SELECT"
QTIPS - Suppressing Initial Form Feed
QTIPS - Command Line Options
QTIPS - Invalid Code and Command
QTIPS - Code/Command Help
Utility Diskette # 4
RTP Series - RTP34
VERBatim - V30
VERBatim - V17
VERBatim - V6
VERBatim - V125
Utility Diskette # 3 - Part I
Version 3 Technical Highlights - Copying Rows Programmatically
Version 3 TCL Subroutines - Copying Rows
QTIPS - DOS File Names
DOS Interfacing (Part II)
VERBatim - V116
@ATTACK - @Pri.File
@ATTACK - @Rollout.File
File Variables
How Indexes Are Updated
Index Record Layouts
QTIPS - File Variable of File In SELECT Statement
QTIPS - Amending non-Attached Files
LINEAR HASH FILE STRUCTURES - Part 1
Index Flush
QTIPS - File Handle Structure
WP Bond, from Professional Systems Development - A review by Michael Ruane - Phoenix Solutions.
SecureUser
VERBatim - V25
@ATTACK - @Files.System
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
REVMEDIA Revisted
VERBatim - V16
Popups
Utility Diskette # 3 - Part I
QTIPS - Border.Colour
QTIPS - Overriding Menu Colours
Utility Diskette # 3 - Part II
QTIPS - Query Windows - Changing Colours
RTP Series - RTP25
RTP Series - RTP27
QTIPS - Printing Large Variables from the Debugger
VERBatim - V87
@ATTACK - @TCL.Stack
Report Professional (TM) - Dialog Software
R3 Report Writer Reviewed by Richard Guise, CSS Ltd
QTIPS - Using @Upper.Case and @Lower.Case with Foreign Languages
@ATTACK - @Lower.Case
@ATTACK - @Upper.Case
Sorting out Collation Sequences by Mike Pope
Reader's Clinic - Naming Routines
Reader's Clinic - Prompting for Passwords
Reader's Clinic - Removing "Searching Cross References" Message
Message
Trapping Message Calls
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Standardising Error Message Display
QTIPS - Interrupt Proof Error Messages
QTIPS - Improving the Message Window
Version 3 Technical Highlights - New Message Types
QTIPS - Skipping Prompts
Vroom
RTP Series - RTP32
Utility Diskette # 3 - Part I
Reader's Clinic - Page Marks in Windows
Prompt Help
QTIPS - Improved Menu Help 1
QTIPS - Improved Menu Help 2
@ATTACK - @Macro.Hex
Playing with Scan Codes
Uncommon Knowledge - WC_Detail_Help%
Uncommon Knowledge - WC_Protect_Help%
QTIPS - Command Line Options
Customising the Status Line

RevMedia FKB

DocumentV1I7A22
TitleVERBatim - V39
KeywordsV39
EXIT
@SENTENCE
?
TCL
RTP18
TextSubroutine to do ? processing at TCL Passed single value in which is
returned 1 for EXIT and 0 for continue Sentence to be analysed is in
@SENTENCE For the (many) subscribers who have not used G2 B this is a
little used feature tucked away on page J 12 of the "Advanced Revelation
Technical Reference Manual" where it says "? Causes TCL to prompt for
information as the batch process is being run"

The ? processor has more features than this though If you wish to devise
simple REPORTS to prompt the user for values to be entered at runtime and a
collector window seems excessive then this is for you

Simply anything processed by RTP18 which includes question marks will be
passed to V39 for processing V39 will expand these question marks and
return the new @SENTENCE to RTP18 for further processing This could be used
in any TCL command EG

CLEARFILE ?File to Clear?

COPY VOC ?old name? TO:?alias?

however it has its greatest use when used WITH the LIST command Thus if a
list of all amounts on file greater than a user specified amount was
required the following command could be used

LIST STOCK WITH AMTS > ?Quantity to be GT?

V39 would automatically add in the word "Enter" and prompt the user to
"Enter Quantity to be GT"? If the user typed in 100 the system would
execute the TCL sentence

LIST STOCK WITH AMTS > 100

Note that the amount entered by the user was not enclosed in quotes so this
would not be effective for literal comparisons To achieve literal
comparisons enclose the text within the question marks in quotes eg

LIST STOCK WITH COLOUR = ?"colour of item"?

Note that as this routine is being called DIRECTLY FROM RTP18 @SENTENCE is
not modified on the TCL stack so F2 would not show the expanded version

If the user types END or presses Esc the report will abort

A special case exists where in place of a literal message the dictionary
name of a valid item in the CURRENT file (or the dict of VOC) can be
substituted EG

LIST STOCK WITH COLOUR = ?"COLOUR"?

This then prompts the user WITH the message in field 12 or field 3 of the
dictionary item If the user enters a question mark the system will display
the help information on line 14 of the DICTIONARY item and if the user
enters two question marks the system will DISPLAY the EDIT PATTERNS

If more than one set of prompts are included on an RLIST sentence eg

LIST VOC WITH F1 = ?F1? AND WITH F4 = ?F4?

then typing in ^ or TOP will return prompting to the first prompt in the
sentence

A final special case is where it is required to prompt the user for several
values for EXAMPLE where a report on several colours is required In this
case just append THREE periods to the closing question mark and the system
will prompt for additional values until a null value is entered eg

LIST STOCK WITH COLOUR = ?COLOUR?

This would produce a report equivalent to

LIST STOCK WITH COLOUR = "C1" "C2" "C3"


(Volume 1 Issue 7 Pages 7 8)
[revmedia/copyrigh.htm]

Page last modified: 30/01/03