Re: Unknown origin of error message
micheal9054
--- In bb4w@yahoogroups.com, Ian Wade G3NRW <g3nrw-radio@...> wrote:
make sure when you open the comport that it is opened! I wrote a program a few years ago and had these problems. the error occurs when the opened com was not infact opened, you try to listen or send ans the error pops up as the channel was not opened.
|
|
Unknown origin of error message
I have written a simple BBC Basic program that makes a tcp connection to
a remote host, then reads from/writes to that host. The program also opens a COM port. When running the program here, everything is fine (and so easy with BBC Basic!). However, someone else is now testing the program. He is running the compiled .exe version -- he does not have BBC Basic on his machine. The program successfully makes the tcp connection, but then, when attempting to read from the port, an error message box pops up. The title bar says simply "Error", and the message text says simply "Invalid channel". I have no idea where this message came from. As part of initialisation, the program contains these lines: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ install @lib$+"SOCKLIB" proc_initsockets on error sys "MessageBox",@hwnd%,report$,0,0 : proccleanup : quit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is the only mention of "Message Box" in the whole program, so I assume this is what's producing the Error pop-up. Is there any way of tracking down exactly what caused the error message to appear and what it means? -- 73 Ian, G3NRW
|
|
Re: Site closure
Simon Mathiassen <simon@...>
I'm assuming it because David's announcement - which I saw purely byWell, I have now asked him directly whether he would transfer the domain to me, which he replied positively to, so i will not expect the www.bb4wgames.com domain to die any time soon. If left to my devices, it will also be non-static, so any new BB4W based game will be included in the list. Regards, Simon
|
|
Re: Site closure
Richard Russell
--- In bb4w@..., <jgrathbone@...> wrote: > and if you or anyone else would like a copy please email me
You will need David's permission to do that.
Richard.
|
|
Re: Site closure
John Rathbone
Hi Richard I have just downloaded the entire site into an adobe pdf file it is 8.71Mbytes and if you or anyone else would like a copy please email me regards John jgrathbone@...
From: "yahoo@..." To: bb4w@... Sent: Saturday, 14 September 2013, 13:05 Subject: [bb4w] RE: Site closure --- In bb4w@..., wrote: > Is that something you declare as fact, or something you are just assuming? I'm assuming it because David's announcement - which I saw purely by chance - says the site "will close". If he was prepared for it to remain online (for example by transferring the domain to another owner) surely he would have made some moves in that direction first - such as contacting people, like me, whom he knows would be interested in keeping it alive. Richard.
|
|
Re: Site closure
Richard Russell
--- In bb4w@..., <simon@...> wrote:
I'm assuming it because David's announcement - which I saw purely by chance - says the site "will close". If he was prepared for it to remain online (for example by transferring the domain to another owner) surely he would have made some moves in that direction first - such as contacting people, like me, whom he knows would be interested in keeping it alive.
Richard.
|
|
Re: Site closure
Simon Mathiassen <simon@...>
Anyway, if David is happy for the site to be mirrored, I wonder why heIs that something you declare as fact, or something you are just assuming? I will immediately contact David to hear if he would like to sell the domain to me, stay posted. Regards, Simon
|
|
Re: Site closure
Richard Russell
--- In bb4w@..., <simon@...> wrote: > Both JGH and myself has been given explicit permission to mirror the > site, pending a few changes that David expects to have done before the > end of the month. I'm not sure that I can see much point, other than as an archive of what was once possible. Without David's support it's most unlikely anybody will be using GFXLIB for a new project. Anyway, if David is happy for the site to be mirrored, I wonder why he isn't prepared to allow the bb4wgames.com domain to be transferred to somebody else and kept alive. Richard.
|
|
Re: Site closure
Simon Mathiassen <simon@...>
Indeed so. I have heard nothing directly from David by way of anDavid has this to say on the subject (quoted with permission): "Yes, my 'public' BB4W 'career' is over. I don't want to concern myself with this stuff anymore. I still occasionally use BB4W, but only for solving maths & stats-related problems. I've kept an eye open for new BB4W games (especially any that make use of Box2D) but no one's done anything at all, it would seem. Must be pretty disheartening for Richard." Both JGH and myself has been given explicit permission to mirror the site, pending a few changes that David expects to have done before the end of the month. Regards, Simon
|
|
Re: Site closure
Richard Russell
--- In bb4w@yahoogroups.com, "J.G.Harston" <jgh@...> wrote:
Making an offline copy is non-infringement in UK copyright law asI would say that's questionable, in these circumstances, but you certainly wouldn't be able to make it available online without David's permission. Richard.
|
|
Re: Site closure
J.G.Harston
Richard wrote:
The difficulty with that is, of course, copyright. Without David'sMaking an offline copy is non-infringement in UK copyright law as "making an archive for preservation" [S42, S75] and "backup of computer data for personal use" [S50]. -- J.G.Harston - jgh@mdfs.net - mdfs.net
|
|
Re: Site closure
Richard Russell
--- In bb4w@yahoogroups.com, "J.G.Harston" <jgh@...> wrote:
I've made an off-line copy of the siteThe difficulty with that is, of course, copyright. Without David's permission it would be illegal to make it available online (it was almost certainly illegal to make the copy!). Otherwise anyThe legal status of that is dubious too, and it's not something to which I could legitimately refer people as a 'BB4W resource'. Richard.
|
|
Re: Site closure
J.G.Harston
Offlist
Richard wrote: With the loss of GFXLIB and all those wonderful examples I will noI've made an off-line copy of the site, and have emailed David about hosting a static archive so the resources remain available. 20-odd Meg would just be a nibble in my spare hosting capacity. Otherwise any access would have to be through the Wayback Machine: http://web.archive.org/web/20130518044525/http://bb4wgames.com/ -- J.G.Harston - jgh@mdfs.net - mdfs.net
|
|
Re: Site closure
Richard Russell
--- In bb4w@..., Yee Leong wrote: Indeed so. I have heard nothing directly from David by way of an explanation; if it is a financial thing I would be more than happy to contribute to the upkeep of the site. With the loss of GFXLIB and all those wonderful examples I will no longer be able to promote BB4W as being suitable for 'serious' games programming. Richard.
|
|
Re: Site closure
Yee Leong
Oh Owl ! this is such a terribly news Thanks , David., .. for the memory
From: Richard To: bb4w@... Sent: Wednesday, 11 September 2013, 23:34 Subject: [bb4w] Site closure I posted earlier about the closure of David Williams' site:
but Yahoo seems to have swallowed my message, at least temporarily.
Richard.
|
|
Site closure
Richard Russell
I posted earlier about the closure of David Williams' site: but Yahoo seems to have swallowed my message, at least temporarily. Richard.
|
|
Re: Command Line Parameters
___Original Message_________________________________________
From: Richard <yahoo@rtrussell.co.uk> Date: Sat, 7 Sep 2013 Time: 13:20:12 Find it under 'General Information... Variables... Variable types... I *said* it was in there somewhere! Thanks Richard. -- 73 Ian, G3NRW
|
|
Re: Command Line Parameters
Richard Russell
--- In bb4w@..., Ian Wade G3NRW wrote: Find it under 'General Information... Variables... Variable types... The @cmd$ variable', or you can read it online here: http://www.bbcbasic.co.uk/bbcwin/manual/bbcwin2.html#cmd "The variable @cmd$ allows an executable created with the Compile utility to access the command line with which it was executed". Richard.
|
|
Command Line Parameters
I'm sure this must be documented somewhere, but I haven't found it yet.
Let's say I have a program MYPROG.BBC, which I compile to MYPROG.EXE. At runtime I then want to pass command line parameters to the program. For example, to run the program in verbose mode, and saving an error log, the command might be something like: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ myprog /v /log=mylog.txt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Question is: within the program, how do I read the parameter string "/v /log=mylog.txt" ? -- 73 Ian, G3NRW
|
|
Re: CPU usage of FNget?
Grahame Pratt
Ah, thanks! I should obviously have opened up NOWAIT and looked for myself (I think I just assumed that Fnget was some assembly language which I would not understand). Sorry for that. Yes, "Too little to care about". Works for me. --Grahame --- In bb4w@..., <bb4w@...> wrote: > I wonder, does FNget use any CPU cycles while it is waiting?It uses some, of course, because it's actively executing code (principally the INKEY function) approximately once every millisecond: REPEAT SYS "Sleep",1 K% = INKEY(0) UNTIL K%<>-1 But it wouldn't be very easy to measure accurately *how* much because it will be below the threshold necessary for Task Manager to indicate anything (0.1%). Why do you care, so long as it's 'too little to matter'? Richard.
|
|