| Reader's Clinic - Dynamic Screen Display |
| QTIPS - Window Bug and Debugging Window Bug |
| Uncommon Knowledge - WC_Redisplay_List% |
| QTIPS - DOSTime |
| VERBatim - V11 |
| @ATTACK - @Backgrnd.Time |
| @ATTACK - @Index.Time |
| QTIPS - Time-outs in Windows |
| SecureUser |
| VERBatim - V25 |
| @ATTACK - @Files.System |
| Advanced Revelation Initialisation Sequence (Overview) by Mike Pope |
| REVMEDIA Revisted |
| 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% |
| 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) |
RevMedia FKB
| Document | V3I5A6 |
| Title | QTIPS - Window Bug and Debugging Window Bug |
| Keywords | WINDOW_COMMON% WC_REDISPLAY_LIST% WC_DISPLAY_ACTION% WC_RESET% WC_LABEL% WINDOW DEBUG |
| Text | A subscriber recently had a problem WITH a post prompt redisplay of fields Setting WC_REDISPLAY_LIST% WC_DISPLAY_ACTION% and WC_RESET% on a post prompt worked perfectly most of the time but if the user had asked for help by pressing F1 before this point the system crashed WITH a "Non Numeric Data When Numeric Required Zero Used" AFTER the post prompt The bug turned out to be that the help call (which utilised an HD code and command) modified WC_LABEL% and put non numeric information into it The subsequent WC_DISPLAY_ACTION% of 7 forced a redisplay (including labels) and WINDOW not finding a label number crashed The problem obviously lay in the help call but without access to system source DEBUGGING this type of problem can be difficult At this point a utility FROM the last diskette from Dave Woodley came in very useful Display_Arev_Common is a useful little routine that displays all the values of WINDOW_COMMON% at any point in time WITH a little modification it was adjusted to write out all values of WINDOW_COMMON% to a dos disk file The routine was then put onto a macro key and a snapshot of the WINDOW_COMMON% VARIABLES taken before and AFTER pressing the F1 key A small program was then written to compare the two versions of common line by line and to print out the differences One of the first things it printed out was the WB_LABEL% difference If having PROBLEMS WITH unusual window errors this approach can be used simply to great effect (Volume 3 Issue 5 Pages 10 11) |
Page last modified: 31/01/03