Main Menu

Can't save work

Started by Brick Nash, 29 May, 2016, 08:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brick Nash

Hey folks,

Quite chuffed with myself and my little program but I just can't get it to save. It keeps asking me to ensure the file name ends with .AMOS and it does but it just keeps flashing up NOT DONE in red at the top of the editor every time I try and when I check nothing has been saved.

I set up a little folder called projects in my Amos folder on Windows (Maybe that's my problem) and I went to save the file in there but it's just not happening. Should I set up a drawer within workbench instead? How do I exit to workbench to make a drawer without losing my work though?

Not sure what to do. Thanks!

bruceuncle

Don't try saving to Windows from the Amiga side, the file names and formats are not compatible.  Save to the Amiga file structure - the emulator will take care of the format.
You can switch between AMOS & Workbench using [left amiga] + [A].  On the PC keyboard, the two 'Windows' keys function as the left & right Amiga keys.
Although the virtual hard drive for the emulator is just a directory in Windows (or a hard file - I prefer a directory myself) be very careful if you start working with the files on the Windows sides.  Problems usually arise with incompatible path names and text formats.  I frequently edit text sources in Windows but you have to be careful that the content doesn't get converted to Unicode (16 bit characters).  When writing text out from VB or VBA, this means meticulously using the VBA 'B' instructions to stop any Unicode 'leaks'.  The 'B' instructions are ones like ChrB$, InstrB, etc.
Sent from my Lumia 640 using Tapatalk
Repeat after me ...  "The AMOS Pro architecture is complex but it is not complicated."

SamuraiCrow

If you use a Windows text editor, make sure to use the Latin1 character set with Unix line endings.

Brick Nash

As always great advice, thanks so much. This forum is great!

I lost my work last night but I managed to get it to save and I'm determined to do better today! :)

Volvo_0ne

Quote from: Brick Nash on 30 May, 2016, 10:31 AM
As always great advice, thanks so much. This forum is great!

I lost my work last night but I managed to get it to save and I'm determined to do better today! :)

Remember to save  regularly, then you won't lose so much if things go t*ts up :D
Transuranic heavy elements may not be used where there is life.