home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Programming / Programming Languages / PC Basic ƒ / PCBASIC MPW version / PCBASIC Demo / PCBASICDemo.b.o / PCBASICDemo.b.o.rsrc / STR#_501.txt < prev    next >
Encoding:
Text File  |  1992-02-22  |  558 b   |  35 lines

  1.     PCBASIC programs can be written for easy
  2.  
  3. translation into foreign languages. The menus, dialogs
  4.  
  5. and titles can all be defined in the resource file. Even
  6.  
  7. text messages, like these, can be put in the resource
  8.  
  9. file as string lists, such as this :
  10.  
  11.  
  12.  
  13. resource 'STR#' (505, purgeable)    {
  14.  
  15. "     PCBASIC programs can be written for easy",
  16.  
  17. "     translation into foreign languages."
  18.  
  19. }
  20.  
  21. The strings are used in BASIC like DATA statements :
  22.  
  23.  
  24.  
  25.           RESTORE #501
  26.  
  27.           READ Msg$1,Msg$2,Msg$3,Msg$4
  28.  
  29.           ? Msg$1 : ? Msg$2 : ? Msg$3 : ? Msg$4
  30.  
  31.  
  32.  
  33. END
  34.  
  35.