Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question on file extension
#1
I am working my way through the book 'Boriel Basic for Beginners'. It is a very good book and well written. I have convinced my friend to buy a copy too.

On page 166 in the example the first command is '#INCLUDE "ship.gdu.bas". When I exported the UDG's as per the instructions on page 165 it creates a file 'ship.gdu.zxbas'

I was wondering why it did not export with the extension '.bas'. I understand I just need to change the extension in the code and it loads in fine, I just want to understand why. It may be something I have done wrong.

ZeDeX82
Reply
#2
The file extension does not matter. It turns out that ZX Basic Studio (and some other IDEs) use .zxb or .zxbas file extensions by default instead of .bas.
Comment this either in the Telegram Channel or open a New Issue in the ZX Basic Studio project.
---
Boriel
Reply
#3
boriel Wrote:The file extension does not matter. It turns out that ZX Basic Studio (and some other IDEs) use .zxb or .zxbas file extensions by default instead of .bas.
Comment this either in the Telegram Channel or open a New Issue in the ZX Basic Studio project.

Thankyou.  I thought it would something like this, but I just wanted to check
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)