home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / share / Dos / VARIOS / siena / oplexam / B08DISK.TXT < prev    next >
Encoding:
Text File  |  1994-09-06  |  3.1 KB  |  100 lines

  1.  
  2.  
  3.  
  4. OPL and Solid State Disks
  5.  
  6.  
  7.  
  8. *** Types of Solid State Disk
  9.  
  10. Solid State Disks (SSDs) are explained in detail in the User 
  11. guide. There are two main reasons for using them:
  12.  
  13. *) To provide more room for storing information.
  14.  
  15. *) To make backup copies of important information, in case 
  16. you accidentally change or delete it (or even lose your Series 3a).
  17.  
  18. There are two types  Ram SSDs and Flash SSDs. 
  19. They fit into the SSD drives marked "A" and "B", 
  20. at either side of the Series 3a.
  21.  
  22. *) Flash SSDs are for storing or backing up information which 
  23. is infrequently changed. This includes finished OPL programs.
  24.  
  25. *) Ram SSDs are for storing or backing up information which 
  26. changes frequently. This includes OPL programs you are still writing 
  27. or testing.
  28.  
  29. You can, though, save programs and data files to either kind of SSD, 
  30. as you see fit.
  31.  
  32. *** How to put programs on an SSD
  33.  
  34. To create a new OPL module on an SSD, use the `New file' option in 
  35. the System screen as before, but set the "Disk" line of the dialog 
  36. to "A" or "B" as required.
  37.  
  38. To copy an OPL module onto an SSD, move onto the module name where 
  39. it is listed under the Program icon, and use the `Copy file' option 
  40. on the `File' menu. Set the `To file: Disk' line to "A" or "B". 
  41. If you want this copy to have a different name to the original, type 
  42. the name to use, on the `To file: Name' line. The new copy will appear 
  43. in the list under the Program icon, but with "[A]" or "[B]" 
  44. after its name. 
  45.  
  46. To copy the translated version of an OPL module, move onto the 
  47. name in the list under the RunOpl icon (to the right of the Program 
  48. icon), then proceed as before. 
  49.  
  50. *** SSDs from inside OPL
  51.  
  52. Your OPL programs can create or use data files on SSDs. To do so, 
  53. begin the name of the data file with "A:" or "B:"  
  54. for example:
  55.  
  56. CREATE "B:JKQ",A,X1$,X2$
  57.  
  58. tries to create a data file "JKQ" on an SSD in "B", while 
  59.  
  60. DELETE "A:X300"
  61.  
  62. tries to delete a data file "X300" on an SSD in "A".
  63.  
  64. Don't confuse the drive names "A" and "B" with the logical 
  65. names "A", "B", "C" and "D". Logical names are unaffected 
  66. by which drive a data file is on.
  67.  
  68. The internal memory can be referred to as "M:", if required. For 
  69. example:
  70.  
  71. PROC delx300:
  72.   LOCAL a$(3),c%
  73.   a$="MAB" :c%=1 REM default to "Internal"
  74.   dINIT "Delete X300 data file"
  75.   dCHOICE c%,"Disk:","Internal,A,B"
  76.   IF DIALOG REM returns 0 if cancelled
  77.     DELETE MID$(A$,c%,1)+":X300"
  78.   ENDIF
  79. ENDP
  80.  
  81. In this example, "MID$(A$,c%,1)" gives ""M"", ""A"" or 
  82. ""B"", according to the choice made in the dialog. This is added 
  83. on the front of "":X300"" to give the name of the file to delete  
  84. ""M:X300"", ""A:X300"" or ""B:X300"".
  85.  
  86. When using data files with SSDs, follow the same guidelines as with 
  87. OPL programs  Flash SSDs are for one-off or "finished" information, 
  88. while Ram SSDs are for information which is still being changed.
  89.  
  90. *** Directories and DOS structure
  91.  
  92. The internal memory and SSDs use a DOS-compatible directory structure, 
  93. the same as that used by disks on business PCs. For more details, 
  94. see the `Advanced Topics' chapter.
  95.  
  96.  
  97.  
  98.  
  99.  
  100.