Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: Brick Nash on May 29, 2016, 07:44:01 PM
-
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!
-
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
-
If you use a Windows text editor, make sure to use the Latin1 character set with Unix line endings.
-
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! :)
-
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