This routine, sent in by N A Smith of Cranbrook , Kent, reproduces a useful routine often found in expensive word-processing packages. This one is designed to be used on Basic programs. You can alter the names of variables without having to search laboriously through the listing and edit it by hand. You must first prepare a specially saved version of the program you wish to amend. To do this simply load the program and re save it in Ascii form by typing SAVE "filename",A. (This means the actual letters you typed are now saved, rather than the space-saving 'tokens' Basic usually stores to represent keywords.) When run, the utility will ask several questions: the first is the name of the program to be altered (including the file extension), the second is the word or phrase you wish to replace, the third is the new word or phrase. The final question gives you the option to treat capital and small letters as the same. Every time the program locates a word to replace, it gives you the choice of altering the word or proceeding to the next occurrence Search-and-replace is designed to work with one disk drive although it is possible to convert it to run on a cassette-based system. This involves adding a procedure which waits for the user to change cassettes. AA#18 ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop Page créée en 676 millisecondes et consultée 1071 foisL'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko. |
|
|