BBC hints/tips Index - Part 3/5 ============================================================================== =Programming Hints. = ============================================================================== 001 Finding the last line number in a BASIC program. 003 Padding strings to a certain length. 004 Scrambling the random number generator. 005 Self validating INPUT. 006 Shortened IF statement. 009 Key pressed check. 010 The use of INPUT LINE. 011 Function to ensure a certain number of characters are entered. 012 Number input function. 013 Status functions. 014 Star commands in a program. 015 Alphabetic sort. 016 Program size. 017 Find a string in a program. 019 Locking out lower case. 020 Putting a function key into a buffer. 021 Press space to continue..... 022 Time Delays. 025 Cube roots. 026 Integer Variables. 030 Program Verify. 032 Unwanted spaces. 035 Saving Memory. 036 Simplified star commands. 037 Menu. 038 Double Height INPUT. 039 Timed INPUT. 040 Date input routine. 041 User key editor. 044 Multiple menu technique. 046 Extra large printing. 047 MODE 7 box. 048 Centered text. 049 Screen border. 050 Novel screen clearing! 051 Inverse colour text. 053 String formatting. 054 Capitals conversion. 055 TAB command. 057 Reversing flags. 058 WHILE...DO structures (BASIC 5). 059 Variable names. 061 RESTORE statement. 062 Abbreviations. 064 Error reporting. 065 Error calls. 066 Storing a MODE 7 screen. 069 Ignoring shift/caps lock. 072 Top 10 speed techniques. 075 Random numbers not including zero. 076 Jumping out of loops and porcedures. 077 *FX lookalike. 078 Reading *FX calls. 080 Text screen dump. 089 Moving text, Part 1. 090 Moving text, Part 2. 091 Shadow printing. 104 Controlling shift/caps lock from within a program. 105 GOTO/GOSUB line tokens. 112 Use for EVAL. 122 REM alternative. 123 VDU code reminder. 124 VDU oddities. 125 DIM oddity. 126 Alphabetic comparision. 127 On error tip. 128 Date compression. 129 Number compression. 134 Writing legal programs. 146 VDU terminator. 156 INKEY(-256) command. 157 Calendar functions. 163a BASIC program format part1. 163b BASIC program format part2. 164 'Hard' break/reset. 167 Auto-date function. 168 Drawing text boxes. 171 Negative INKEY codes. 172 Another calendar function. 174 Decimal-Hex-Binary convertor. 175 TRACE. 176 Simple menu selection. 177 Remarks and all that. 179 Reading/writing registers with OSBYTE. 187 Hasing around. 204 Attractive menu boxes for the Master. ============================================================================== =Miscellaneous Hints. = ============================================================================== 002 Paging mode on/off and halting a scrolling screen. 018 Wacky error message! 024 Simulate a duff TV! 034 Lower case commands. 042 Saving User key definitions. 056 Altering the cursor. 068 Secure cipher code. 070 Caps lock and shift reverse! 073 Interlacing in modes 0-6. 074 Interlacing in mode 7. 110 Slowing down programs. 147 Character founts. 188 Master/Arc scroll quirk. 201 Configuring the Escape key. 73 de G4BLT @ GB7WRG