embarrassing questing about basic (Development MSX Fora)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 147 gasten en 3 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - embarrassing questing about basic

Schrijver

embarrassing questing about basic

selios2000
msx freak
Berichten: 215
Geplaatst: 16 Februari 2005, 19:09   
well...imagine that I'm an amateur in basic code... that I have some basic files with useful things and want to put them together and not writting down again... is there any "copy" and "paste" funtion?? :S
Don't blame me!
ahaahha
snout
online

msx legend
Berichten: 4991
Geplaatst: 16 Februari 2005, 19:15   
load the listing

then type

SAVE "LISTING.BAS",A

the listing is now saved as a normal ASCII textfile, which you can open in any text-editor, like MS-DOS EDIT or Notepad.
DarQ
msx professional
Berichten: 836
Geplaatst: 16 Februari 2005, 19:17   
yeah, the basic editor lacks a real copy/paste
ah well, its primitive but it works
snout
online

msx legend
Berichten: 4991
Geplaatst: 16 Februari 2005, 19:18   
And euhm.. MSX-BASIC should copy and paste to... what exactly?
selios2000
msx freak
Berichten: 215
Geplaatst: 16 Februari 2005, 19:28   
the point is that I dont wan't to use windows...
An example: if I have a progam called "code" and I have another one called "graphics" and I want to put them together... I think it is impossible, because If I load "graphics" the other one would be deleted!! or don't??

mars2000you
msx master
Berichten: 1723
Geplaatst: 16 Februari 2005, 19:30   
No, if both files are saved in ASCII mode and if they use different line numbers, you can load the first file, then use the command MERGE"filename" to load the second file that will be "added" to the first file in the memory of the MSX

Use RENUM to change the line numbers of the second file first !!!!
selios2000
msx freak
Berichten: 215
Geplaatst: 16 Februari 2005, 19:34   
that means that from basic, if my "code" file that I have previously renumbered to 1000,2000,3000... I made: merge"graphics" (that have 1010,1020...) will work out???
snout
online

msx legend
Berichten: 4991
Geplaatst: 16 Februari 2005, 19:35   
Exactly.
selios2000
msx freak
Berichten: 215
Geplaatst: 16 Februari 2005, 19:40   
thanks!

BiFi
msx guru
Berichten: 3142
Geplaatst: 16 Februari 2005, 22:07   
you can always give any existing line a new line number to copy it. so basic does have some kind of copy/paste feature. it's just done by giving it a new line number... do be careful not to use an existing line number since it'll overwrite it without question.
Rikusu

msx professional
Berichten: 948
Geplaatst: 16 Februari 2005, 23:36   
But afaik you have to save it as "filename",a for the merge command to work, like snout said.
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.