Atari XL manual Disabling the Screen from Macros, Special Characters

Page 44

The Last Word 3.0 Reference Manual

<CTRL+Z>

Set toggles and test flags. Follow with one of the characters

 

below:

 

 

U

Put the keyboard into uppercase.

 

L

Put keyboard into lowercase.

 

I

Set insert mode.

 

O

Set overtype mode.

 

1-9 or 0 (0=10)

Select the appropriate text bank when

 

 

multiple banks are set up. Bank 1 is

 

 

always the MAIN (unextended) bank, and

 

 

2-10 correspond to banks of extended

 

 

memory.

 

B

Select the text bank the program was in

 

 

when the macro was called.

 

H

Hide the screen display.

 

U

Turn the screen on again.

 

These parameters should be in normal video and each setting

 

requires a separate <CTRL+Z>.

 

As well as setting flags, the <CTRL+Z> command can also test

 

certain conditions:

 

 

M

Test for block marking.

 

S

Test if any text is already selected.

 

C

Test for file edits since the text in memory

 

 

was last saved.

 

A

Test if file has already been saved.

You would precede these tests with a macro branch command.

The branch will occur if the above conditions are FALSE.

7.4.1 DISABLING THE SCREEN FROM MACROS

You can use the:

<SELECT+CTRL+Z> set toggles command

to turn the display on and off from within a macro. Follow with an "H" to "hide" any screen updates, and a "V" to make them visible. Nothing is actually printed to the screen when the display is disabled - the display will immediately change to reflect any changes made by the macro when it is switched on again. This is a great way to make macros run as if they were built-in commands, bypassing the prompts that usually whizz by on the command line. Certain commands - such as print, view, spool, disk menu and the four macro commands which display prompt information - re-enable the display automatically.

7.4.2 SPECIAL CHARACTERS

<CTRL+P>

Entered in a filename dialogue will enter the device, path and

 

name of the current file.

7-44

Image 44
Contents Last Word Contents Macros Configuring LW for Your PrinterConfiguring LW LW Command Summary Print Formatting CommandsDOS Packages and LW Programmers Technical NotesIntroduction Overview of the Last WordLoading LW from Spartados About the ManualStarting LW Basic Operation Edit ScreenLW LETTER.TXT SHIFT+CTRL+WLast Word 3.0 Reference Manual Text Banks Saving and Loading TextSHIFT+CTRL+? Filename exists Overwrite / ?Last Word 3.0 Reference Manual Basic Configuration File SelectorLeaving the Program CTRL+XText Entry Modes Editor CommandsCursor Movement Inserting and Deleting Text Delete ord, ine, entence, aragraph?Moving and Copying with Text Blocks Finding and Replacing Text Hange, ll, To nd, kip?Find Change to Searching with WildcardsFindTH S Additional Editor Features Edited Text IndicatorCounting Words TabulationCTRL+B BookmarksText and Document Modes Wildcards Y User OptionsEditing Multiple Files Handling Large Files LoadREPORT.DOC/CSave AsDREPORT.DOC/A 2DTHESIS.TXT2Disk Operations Disk Operations from the EditorDisk Menu CTRL+JOpy PecIew Vail OckOrmat Additional Commands Subdirectory FeaturesCTRL+H SHIFT+CTRL+ DownEditor Print Commands Printing with LWPreviewing Text Keeping Track of PaginationEmbedded Commands Stage 1 CommandsL20Return L20r60helloReturnLast Word 3.0 Reference Manual Set the left margin. The default is Left header/footer margin, default 10. This works like Stage 2 Commands Other Print Features Creating Hanging IndentsInternational Characters SHIFT+CTRL+SPACEConfiguring the Print Formatter Creating a Printer Driver Configuring LW for Your PrinterPrinter Drivers Init Print TogglesControl Strings Style 1,27,45,8 Style 2,27,83,2 Code 1,129International on 27,82,12 International OFF 27,82,0 Last Word 3.0 Reference Manual Macros Loading MacrosRunning Macros Autorun MacrosSpecial Macro Commands Writing and Editing MacrosField. To actually get input from the user, you Must include Rint Oad AveOad Disabling the Screen from Macros Special CharactersKeyboard Conventions for Macros Entering Other Commands from MacrosSpecial Macro Font Creating and Editing Macros Example Macros Font SetTranspose Characters Last Word 3.0 Reference Manual Configuring LW Configuration Options in the EditorCFG Configuration Files Default Drive Drive D1Banks 1,2,3,4 Configuration Using a Supported DOSLW.SYS File Configuration Using Other DOS Packages Extpages ReserveBanked on Reserve ExtpagesPath D8D1LW Search PathBanks 5,6,7,8,9,10,11,12 Keyboard Buffer Using Multipe Text BuffersCustom Fonts KEY n,n Customising the KeyboardKeyboard Table Invalid KEY 150,3 Remapping Commands Using MacrosKEY 10,97 3 1200 XL Keys DOS Packages and LW Memory RequirementsAtari DOS XE MemloDISK-BASED Spartados SpartadosLW files /Mc /Ppath /Q /X LW TEST.DOC /M% /PD1LWSpartados X Memory Configurations Spartados X Lwpath Environment VariableKEY OFF LW.EXE KEY on SET LWPATH=D8D1\LWLast Word 3.0 Reference Manual Command Function Macro Equivalent LW Command SummaryEditor Commands See SET Command SHIFT+CTRL WInverse Ctrl W Ctrl YSpecial Keys KEY FunctionMacro Commands Command FunctionINV Ctrl INV CTRL+LPrint Formatting Commands Command Function Default ValueUP Arrow Down ArrowLeft Arrow Right ArrowMemory Usage Assembly Language ADD-INSProgrammers Technical Notes Program Design SECDevelopment and Testing WHY LW Came Into Being12-74 12-75 Development Correspondence

XL specifications

The Atari XL series, launched in 1982, represented a significant evolution in home computing, building upon the foundation laid by the Atari 400 and 800 systems. This line of computers included popular models such as the Atari 600XL and 800XL, both of which combined affordability with robust capabilities, making them attractive options for home users, educators, and enthusiasts alike.

One of the standout features of the Atari XL series was its color display capabilities. The systems supported a resolution of 320x192 pixels with a vibrant palette of 128 colors, which enabled rich graphics for games and applications. This was complemented by the system's powerful Antic graphics chip that allowed for advanced video display modes, making the Atari XL series particularly popular for gaming and multimedia applications.

Another key technology driving the Atari XL series was its use of the 6502 processor, which delivered efficient performance and allowed for smooth multitasking. The systems typically came with 64KB of RAM, expandable to 128KB, providing ample memory for running multiple applications simultaneously, a notable feature in comparison to other microcomputers of the time.

The Atari XL series also introduced a new, user-friendly operating system known as Atari DOS. This improved disk management capabilities, making it easier for users to manage files and applications on floppy disks. The systems were equipped with built-in BASIC programming language, enabling users to dive into programming and coding, fostering a generation of hobbyists and developers.

Each model in the Atari XL series came with a distinctive keyboard design, offering both a chic and functional layout. The keyboards were known for their tactile feel, making them suitable for typing and coding over extended periods.

Additionally, the Atari XL computers were compatible with a wide range of peripherals, such as printers, modems, and disk drives, enhancing their versatility. Users could also take advantage of a rich library of software, including educational programs, productivity tools, and an ever-growing selection of games.

The Atari XL series not only boasted solid technology and capabilities but also garnered a devoted community. The systems contributed to a vibrant culture of gaming and computing in the early 1980s, which remains fondly remembered by enthusiasts today. With their combination of innovative technology, user-centric design, and a diverse software library, the Atari XL series played a crucial role in the evolution of home computing.