Board Logo
« The Browser! »

Welcome Guest. Please Login or Register.
Nov 21st, 2009, 10:40am




Pages: 1 2  Reply Notify Send Topic Print
 hotthread  Author  Topic: The Browser!  (Read 189 times)
Thomas
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 455
xx The Browser!
« Thread started on: Feb 18th, 2008, 5:40pm »
Quote

This code causes an error when I debug it says the error is on line 4.
Code:
windowsize= 730 530
 textbox 5  5 590  25
    button "Go" {go}600   2  95  25
window() "BPL-Browser 1.0"
browser "http://bpl.conforums.com"  5  32 715 490
stop
{go}
textboxcontents address$
browser(navigate) address$
stop
 


Hum it seems to be working now ignore this post and the ones below strange.
« Last Edit: Feb 18th, 2008, 6:07pm by Thomas » User IP Logged

User Image
User Image
User Image
Thomas
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 455
xx Re: The Browser!
« Reply #1 on: Feb 18th, 2008, 5:43pm »
Quote

Most things don't run it is always the window command.
User IP Logged

User Image
User Image
User Image
Thomas
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 455
xx Re: The Browser!
« Reply #2 on: Feb 18th, 2008, 5:44pm »
Quote

Plus the once you have run a window when you try to close BPL you can't! (i think we are going to need a beta 2 lol)
User IP Logged

User Image
User Image
User Image
Admin
Administrator
ImageImageImageImageImage

member is offline

Image




PM

Gender: Male
Posts: 1961
xx Re: The Browser!
« Reply #3 on: Feb 19th, 2008, 5:31pm »
Quote

Broswer bug:
Knew about this sometime you have problems other times you don't.

Most things don't run it is always the window command.

huh What do you mean? All the things work for me and I have tested it on three computers? (Not saying your wrong just it is strange)

I don't know why the window doesn't close I have programmed it so that a message will appear if a window is open but not if it is closed, the only way that would be possible if an undetected error occured. Try running the code in debug.

Another bug I have found is that the updater tool doesn't work. Does it work on yours?

I was kind of expecting to have to make a beta 2 but hey no big problems which I can't fix.

What about file associations, do they work?
User IP Logged

BPL - The legendary programming language created by Ashley & Tom ! ! !
Thomas
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 455
xx Re: The Browser!
« Reply #4 on: Feb 19th, 2008, 7:57pm »
Quote

Ok so the updater don't work (you beat me to telling you lol) and the problems I had just happened once I'm going to go though what I said as I was panicking as it wouldn't close lol.

I'm going to try the file thing now so i'll post again in a bit.
User IP Logged

User Image
User Image
User Image
Thomas
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 455
xx Re: The Browser!
« Reply #5 on: Feb 19th, 2008, 7:59pm »
Quote

Wow that was cool it works when I click on a .bpl file BPL opens that's great Admin! smiley
User IP Logged

User Image
User Image
User Image
Admin
Administrator
ImageImageImageImageImage

member is offline

Image




PM

Gender: Male
Posts: 1961
xx Re: The Browser!
« Reply #6 on: Feb 19th, 2008, 8:39pm »
Quote

Glad you like it!
User IP Logged

BPL - The legendary programming language created by Ashley & Tom ! ! !
Rebels130
Administrator
ImageImageImageImageImage

member is offline

Avatar



AIM
Homepage PM

Gender: Male
Posts: 362
xx Re: The Browser!
« Reply #7 on: Mar 11th, 2008, 01:08am »
Quote

i have noticed an error in your help file
besides the spelling mistakes the web browser does not work
well it does but the button doesnt show up
that is because this is the code
Code:
windowsize= 730 530
 textbox 5  5 590  25
    button "Go" {go}600   2  95  25
window() "BPL-Browser 1.0"
browser "http://bpl.conforums.com"  5  32 715 490
stop
{go}
textboxcontents address$
browser(navigate) address$
stop
 

notice that it says button "Go" {go}600 2 95 25
when there should be a space between {go} and 600

plus your language doesnt take indentions very well
User IP Logged

Admin
Administrator
ImageImageImageImageImage

member is offline

Image




PM

Gender: Male
Posts: 1961
xx Re: The Browser!
« Reply #8 on: Mar 11th, 2008, 6:33pm »
Quote

Thanks, I will fix that, my language doesn't take indentations well, I saw that, I will try and think of a way to fix that.
User IP Logged

BPL - The legendary programming language created by Ashley & Tom ! ! !
Rebels130
Administrator
ImageImageImageImageImage

member is offline

Avatar



AIM
Homepage PM

Gender: Male
Posts: 362
xx Re: The Browser!
« Reply #9 on: Mar 11th, 2008, 8:22pm »
Quote

there is a command you could use easily
i dont know how your language gets the command that is on that line but there is a command that trims things
check it out ijn the help file
i used it in my languages
the command should be trim()
User IP Logged

Thomas
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 455
xx Re: The Browser!
« Reply #10 on: Mar 11th, 2008, 9:05pm »
Quote

I'm not to sure what every one is talking about but this is what the trim command means:

TRIM$( string )

Description:

This function removes any spaces from the start and end of string. This can be useful for cleaning up data entry among other things.

Usage:

sentence$ = " Greetings "

print len(trim$(sentence$))

Produces: 9

(from the JB help file.)
User IP Logged

User Image
User Image
User Image
Rebels130
Administrator
ImageImageImageImageImage

member is offline

Avatar



AIM
Homepage PM

Gender: Male
Posts: 362
xx Re: The Browser!
« Reply #11 on: Mar 11th, 2008, 9:34pm »
Quote

in his language if you indent before commands the command will be skipped or not done correctly

so

print "hi"

will not work

but

print "hi"

will

that is why i told him about the trim command
User IP Logged

Admin
Administrator
ImageImageImageImageImage

member is offline

Image




PM

Gender: Male
Posts: 1961
xx Re: The Browser!
« Reply #12 on: Mar 11th, 2008, 11:36pm »
Quote

Yeah I knew about this command from feather programming language but hadn't got round to using it in fact I completely forgot about this error. It should be fixed in V1.1
User IP Logged

BPL - The legendary programming language created by Ashley & Tom ! ! !
iFlex - Cobix
BPL Expert
ImageImageImageImageImage

member is offline

Avatar

Creator of unrigstered charity www.phpro.co.uk


Homepage PM

Gender: Male
Posts: 136
xx Re: The Browser!
« Reply #13 on: Apr 1st, 2009, 10:47pm »
Quote

I get a resize window error :S
User IP Logged

Im back - Try my web design forum - www.jacksonmedia.org.uk
Admin
Administrator
ImageImageImageImageImage

member is offline

Image




PM

Gender: Male
Posts: 1961
xx Re: The Browser!
« Reply #14 on: Apr 2nd, 2009, 4:29pm »
Quote

Yeah I know about this bug. However it only happens sometimes. It is odd I know, but myself and Tom (Shillito) will be re-programming most of it and this is one issue we will consider smiley

Thanks
User IP Logged

BPL - The legendary programming language created by Ashley & Tom ! ! !
Pages: 1 2  Reply Notify Send Topic Print
« Previous Topic | Next Topic »


New Monthly Ad-Free Plan!

$6.99 Gets 50,000 Ad-Free Pageviews!
| Hookah | Free Shoutboxes |

This Board Hosted For FREE By Conforums ©
Get Your Own Free Message Board!