Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop vb to open bas file
#1
I am new to this

1. I have made a file Hello.bas
2. In the folder where the ZXB files are I have but the file hello.bas
3. I open cmd connad file and enter zxb.py hello.bas

Now vb. net is opening the py file, and it does noting.

How can I stop VB to open this files.
Reply
#2
I guess you're using Windows.
If you're using windows, better use the .exe version, here: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive#Latest_Development_Version">http://www.boriel.com/wiki/en/index.php ... nt_Version</a><!-- m -->
(see 1.5.2 windows .exe zip package)

Uncompress that zip archive in a new *empty* directory, and use:
Code:
zxb -taB Hello.bas
Reply
#3
Hi

Thank you, I did download this version, I just use what you said, and it is working, thank you
Reply
#4
Hi

Where can I found more info, I did see helo on this zxb.py hello.bas, this one did not worked
but your code zxb -taB Hello.bas did work, so where do I found more info on the one you used

I am new to this, I am trying to learn assembly, so this zx compiler and assembly is new to me.
Reply
#5
There is a wiki containing a lot of information an examples here: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZXBasic">http://www.boriel.com/wiki/en/index.php/ZXBasic</a><!-- m -->
Concretely, the command line options info is available here: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Zxb#Command_Line_Options">http://www.boriel.com/wiki/en/index.php ... ne_Options</a><!-- m -->
Reply
#6
Thank you

So the -taB is for

t = tap file
a = autorun
B = Basic

Is this correct, or do I have it wrong
Reply
#7
That's it! :wink:

You can group multiple single-letter (single-dashed) options together:
zxb -t -a -B => zxb -taB
Reply
#8
Thank you Boriel
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)