Acorn computer econet level 2 Скачать руководство пользователя страница 1

Содержание econet level 2

Страница 1: ......

Страница 2: ......

Страница 3: ...uide Within this publication the term BBC is used as an abbreviation for British Broadcasting Corporation 412 018 Issue 2 February 1985 Written designed and typeset by Baddeley Associates Limited Camb...

Страница 4: ...to this manual can be obtained upon request from Acorn Computers Technical Enquiries Acorn Computers welcome comments and suggestions relating to the product and this manual All correspondence should...

Страница 5: ...about your files 15 Filing system commands in BASIC programs 18 Using directories 19 Creating directories 19 Pathnames for files 19 Pathnames for directories 19 Displaying a sub directory 21 Getting...

Страница 6: ...p automatic start routines 37 Autostart at log on 37 Reading and writing to files 39 The idea of random access 39 Opening a file 39 Using the pointer 41 Reading and writing 41 Closing the file 42 Othe...

Страница 7: ...wanted to you could get that program back and run it again Storing work is called saving bringing it back is called loading With Econet all the users on the network can share the same file server so...

Страница 8: ...by the information required without typing the brackets EXAMPLE filename means type the name of a file type characters not in brackets exactly as they are shown When you type in a command the compute...

Страница 9: ...ing and releasing BREAK If the Econet Station message is still missing tell your network manager If there is a No clock message tell the network manager straight away Logging on 1 AM Whenever you star...

Страница 10: ...ntifier and so gain access to your files Your password can be up to six characters long and can include letters and numbers It is important not to tell any other user what your password is and to avoi...

Страница 11: ...rong password error and the file server will not allow you to log on You can change your password at any time using the PASS command Type PASS current new RETURN current here stands for your current p...

Страница 12: ...URN To get a BASIC program back from disc into your computer type LOAD filename RETURN EXAMPLE Type LOAD MATHS RETURN To run the program type RUN as usual To load and run a BASIC program in one operat...

Страница 13: ...Off Dir JULIE Lib LIBRARY BASIC WR MATHS WR TUESDAY WR The information in your catalogue is split into a header the list of files The files in this catalogue are BASIC MATHS and TUESDAY The letters a...

Страница 14: ...n also use _ Do not use any other symbol spaces are also not allowed EXAMPLES MATHS MYPROG TUESDAY BUG BASIC MONDAY1NOV You can mix upper and lower case letters so that MATHS Maths and maths will all...

Страница 15: ...ACCESS command to lock a file in this way To delete a sub directory unlock all the files it contains using ACCESS delete all those files using DELETE delete the directory using DELETE The Using direc...

Страница 16: ...rights of access to the file that you want to have yourself the owner access rights an oblique stroke character the rights of access you want to allow other users to have to your files the public acc...

Страница 17: ...means you will be able to write to and read your file MATHS but not to delete it and other users will be able to read it but not write to it You will get a Bad attribute error message if you specify...

Страница 18: ...ved the System Internal Name of the file this gives the location of the file on the disc The reload and execution addresses the file size and the System Internal Name are given in hexadecimal EXAMPLE...

Страница 19: ...FFFF8023 000043 WR 01 12 85 000145 TUNES 00000000 00000000 000200 DL 03 12 85 000153 The directory ROBERT contains in this example a file called BASIC and a directory called TUNES The OPT1 command ca...

Страница 20: ...mands in BASIC programs You can include Econet file server commands in your BASIC programs EXAMPLE This is a very simple program to get a repeating catalogue on your screen 10 REM CATALOGUE 20 CAT 30...

Страница 21: ...he directories you want using the CDIR command To create a directory type CDIR directory name RETURN EXAMPLES CDIR PROGS CDIR TUNES If you now type in CAT you will see PROGS and TUNES listed among the...

Страница 22: ...s a file in FILM which is a directory within the sub directory TUNES typing LOAD STING would produce the error message Not found To load the file STING type LOAD TUNES FILM STING RETURN Pathnames for...

Страница 23: ...nary files and a sub directory called TUNES Screen ROBERT 013 Owner Master disc Option 00 Off Dir ROBERT Lib LIBRARY BASIC WR WR MATHS WR TUNES DL Type CAT TUNES RETURN Screen TUNES 002 Owner Master d...

Страница 24: ...etters ROBERT TUNES FILM Pathnames specify particular files or directories by specifying the path down the tree that leads to the file or directory Each step along the path is a step to the next layer...

Страница 25: ...file STING you now need only to type LOAD FILM STING RETURN To return to your main directory type DIR RETURN Moving files between RENAME directories To move a file from one directory to another type R...

Страница 26: ...ree of directories sub directories and files Displaying the root directory CAT The root directory is called So to display the root directory list on your screen type CAT RETURN EXAMPLE You have logged...

Страница 27: ...type LOAD STING RETURN Access to others files You will be able to load others files only if their access strings allow you to Your access rights to their files depend on how they have specified the r...

Страница 28: ...ginning with a or that you reach using DIR via the root directory EXAMPLE You log on as JOEY You will have owner access to the files and sub directories in the main directory JOEY You will have public...

Страница 29: ...y selected directory ONE W refers to all the files and directories in the directory ONE that start with W including a file or directory called W When you use a wildcard to refer to a group of files th...

Страница 30: ...the files and directories to which the ambiguous reference refers it will be carried out on whichever of those items has the name that comes first in the alphabet This is because it s impossible to ca...

Страница 31: ...a matching directory logging you on to the first disc and selecting as your directory you will have only public access to From then on the file server uses your logged disc for saving and loading But...

Страница 32: ...sc s root directory as your current directory You will have only public access to it Using files from another disc You can use a directory or file from another disc without logging on to it You do thi...

Страница 33: ...00 hexadecimal numbers as a file called DATA In this case 3000 was the start address of the area in memory and 500 its length in bytes Alternatively type SAVE filename s e RETURNI e stands for end add...

Страница 34: ...r RETURN r stands for reload address EXAMPLE Type SAVE PROG 3000 500 4030 4000 RETURN This saves a machine code program from an area of memory at 3000 to 3500 which will be loaded back to the address...

Страница 35: ...se steps by loading a file to its reload address and then starting execution at the execution address of the file Both these values are set by SAVE Type filename RETURN EXAMPLE To run PROG as a machin...

Страница 36: ...e file server finds the file PROG in your library it will RUN the PROG program If PROG is not in the library you will get a Bad command error message You can choose any directory as your current libra...

Страница 37: ...a file everything you type in while the file is open that is it creates a file that records all your keystrokes You open the file by typing SPOOL filename RETURN The file you have opened will contain...

Страница 38: ...is 10 SPOOL STARTUP 20 PRINT CAT 30 PRINT SDISC USER DISC 40 PRINT LIB MYLIB 50 SPOOL 60 END To execute this spool file type EXEC STARTUP RETURN NOTE if your computer is fitted with a disc filing syst...

Страница 39: ...art setting of your main directory by typing OPT4 number RETURN The number you type can be 0 1 2 or 3 0 switches the autostart off 1 makes the file server LOAD your file BOOT each time you log on 2 ma...

Страница 40: ...carrying out its autostart routine you can continue your session as normal EXAMPLE You might set up a BOOT file that whenever you log on prints out Hello gives you a catalogue loads the first program...

Страница 41: ...called random access devices As well as making saving and loading operations faster this random access feature allows you to select a particular section within a file and read or write to it immediate...

Страница 42: ...ywords You can have up to five channels so you can get random access to up to five files at any one time You can open the same file more than once but only for reading that is with the BASIC II keywor...

Страница 43: ...ents of the byte you have pointed to The keywords are BGET to read a byte and BPUT to write a byte EXAMPLES NEXTLETTER BGET X This means into the variable NEXTLETTER put the contents of the byte curre...

Страница 44: ...in bytes of the file with channel X The keyword EOF is used to tell whether the end of the file has been reached It is set to true 1 if the end has been reached or false 0 if it hasn t EXAMPLE 10 X O...

Страница 45: ...er single writer it has these effects once you have opened a file for reading using OPENIN in BASIC II anyone including you can open it or re open it for reading but no one can open it for writing onc...

Страница 46: ...rrect station number is Type PS printer server number RETURN The first time you use the printer server after switching on or resetting your station the computer needs to know that you want to send you...

Страница 47: ...U 3 RETURN to print the last few lines of your text and the footer text While you are linked to the printer no one else can use it If you press CTRL B and then don t print anything for 30 seconds or t...

Страница 48: ...JULIE and who is working at station number 123 type NOTIFY JULIE HELLO RETURN or NOTIFY 123 HELLO RETURN Julie at station 123 will hear a beep and this will come up on her screen 199 HELLO The 199 te...

Страница 49: ...d to select the system you want To select a system type its keyword then press RETURN 300 baud cassette system TAPE3 1200 baud cassette system TAPE12 or TAPE prestel and teletext system TELESOFT cartr...

Страница 50: ...ling system or NFS is version 3 34 the machine operating system is version 1 20 NFS versions 3 40 and later have the following differences from earlier versions they allow you to prevent your password...

Страница 51: ...age will come up on the screen If the copyright date is 1981 you have BASIC I if it s 1982 you have BASIC II For Econet users the important difference between the two BASICs is in the keywords used to...

Страница 52: ...name directory pathname ambiguous directory reference Elements of the syntax shown in square brackets are optional name runs the machine code program specified ACCESS name owner access string public a...

Страница 53: ...directory is displayed EXEC name reads the contents of the file specified byte by byte FX5 4 selects the network printer HELP gives information on your software versions I AM file server number identi...

Страница 54: ...password PS printer server number selects a printer server RENAME current name new name renames the file specified REPORT gives when entered after BREAK the copyright date of the BASIC software in you...

Страница 55: ...lects a 300 baud cassette filing system TAPE12 or TAPE selects a 1200 baud cassette filing system TELESOFT selects the prestel and teletext filing system VDU number controls the printer Command name a...

Страница 56: ...specified ch OPENIN filename opens the file specified for reading and writing BASIC I only ch OPENIN filename opens the file specified for reading BASIC II only ch OPENUP filename opens the file spec...

Страница 57: ...ointed to BPUT ch numeric puts the number or variable into the byte pointed to INPUT ch num vars or string vars puts data from the file into the numeric or string variables specified PRINT ch numerics...

Страница 58: ...the meaning and use of error numbers in the BBC Microcomputer System User Guide chapter 27 the network manager should have copies Already open 194 You have tried to open a file for random access writi...

Страница 59: ...will have to save files in other directories Dir not empty 180 You have tried to delete an unlocked directory that is not empty Delete its contents before deleting the directory Disc changed 200 Chec...

Страница 60: ...ager No clock 163 Check that your station is plugged into the network If it is and you still get the No clock message tell the network manager No reply 165 Tell the network manager Not found 214 The f...

Страница 61: ...channels available Too many users 184 You may get this message when you try to log on Tell the network manager Types don t match 175 You have tried to mix a file and a directory for example you have t...

Страница 62: ...d File data and programs stored on your file server s discs are organised into files File server a computer controlling a disc storage device connected to it Identifier a name by which the network rec...

Страница 63: ...within the tree of directories and files Printer server a computer controlling a printer connected to it Random access a feature of disc storage devices that allows you to read and write to particular...

Страница 64: ...9 CAT 11 21 24 Catalogues 11 21 CDIR 19 CHAIN 10 CLOSE 42 Commands abbreviations 53 list of 50 using 6 Communicating with other users 46 Conventions used in this guide 6 Data files 31 DELETE 13 DIR 2...

Страница 65: ...about 16 machine code and data 31 moving files between directories 23 names 12 opening 39 pathnames 19 protecting 14 27 renaming 14 Filing systems 5 39 47 Finishing 9 FX5 4 44 HELP 48 I AM 7 Identifie...

Страница 66: ...0 25 PRINT 43 Printing 44 Programs random access in 39 running machine code programs 33 saving and loading BASIC programs 10 using commands in 18 36 PS 44 PTR 41 Public access 25 Random access 39 54 R...

Страница 67: ......

Страница 68: ......

Отзывы: