FAQ  •  Register  •  Login

Stop vb to open bas file

<<

Odie

Posts: 5

Joined: Fri Jun 09, 2017 9:18 am

Post Fri Jun 09, 2017 9:31 am

Stop vb to open bas file

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.
<<

boriel

Site Admin

Posts: 1463

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Fri Jun 09, 2017 2:37 pm

Re: Stop vb to open bas file

I guess you're using Windows.
If you're using windows, better use the .exe version, here: http://www.boriel.com/wiki/en/index.php ... nt_Version
(see 1.5.2 windows .exe zip package)

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

Odie

Posts: 5

Joined: Fri Jun 09, 2017 9:18 am

Post Mon Jun 12, 2017 6:00 am

Re: Stop vb to open bas file

Hi

Thank you, I did download this version, I just use what you said, and it is working, thank you
<<

Odie

Posts: 5

Joined: Fri Jun 09, 2017 9:18 am

Post Mon Jun 12, 2017 7:54 am

Re: Stop vb to open bas file

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.
Last edited by Odie on Mon Jun 12, 2017 8:05 am, edited 1 time in total.
<<

boriel

Site Admin

Posts: 1463

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Jun 12, 2017 8:05 am

Re: Stop vb to open bas file

There is a wiki containing a lot of information an examples here: http://www.boriel.com/wiki/en/index.php/ZXBasic
Concretely, the command line options info is available here: http://www.boriel.com/wiki/en/index.php ... ne_Options
<<

Odie

Posts: 5

Joined: Fri Jun 09, 2017 9:18 am

Post Mon Jun 12, 2017 8:13 am

Re: Stop vb to open bas file

Thank you

So the -taB is for

t = tap file
a = autorun
B = Basic

Is this correct, or do I have it wrong
<<

boriel

Site Admin

Posts: 1463

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Jun 12, 2017 8:52 am

Re: Stop vb to open bas file

That's it! :wink:

You can group multiple single-letter (single-dashed) options together:
zxb -t -a -B => zxb -taB
<<

Odie

Posts: 5

Joined: Fri Jun 09, 2017 9:18 am

Post Mon Jun 12, 2017 10:05 am

Re: Stop vb to open bas file

Thank you Boriel

Return to Help & Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO