BBC BASIC for Windows
« Easily add stuff »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:21pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: Easily add stuff  (Read 3454 times)
JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Easily add stuff
« Thread started on: Jul 10th, 2010, 12:41pm »

In the example program "DLGEDIT", you add stuff and resize it, and thats what I think should go into BBC BASIC. Instead of writing all the code, you can insert something, resize it and do lots and lots of other stuff. smiley
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Easily add stuff
« Reply #1 on: Jul 10th, 2010, 9:22pm »

on Jul 10th, 2010, 12:41pm, JB91 wrote:
In the example program "DLGEDIT", you add stuff and resize it, and thats what I think should go into BBC BASIC. Instead of writing all the code, you can insert something, resize it and do lots and lots of other stuff. smiley

Sounds like a library is required. I suggest you write a specification of just what you'd like to see in such a library and maybe somebody will take up the challenge!

The beauty of BBC BASIC is that it doesn't have the baggage that causes some other languages to be so bloated. Rather than building in more and more features, BBC BASIC is 'lean and mean', keeping only the most fundamental building blocks in the 'core' language. Everything else is done using add-ons like libraries.

Richard.
User IP Logged

JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Re: Easily add stuff
« Reply #2 on: Jul 13th, 2010, 6:01pm »

Maybe someone could create a library where you have the following PROCs:

PROC_initlib - to instalize the library
All PROCs to do with dialog boxes
PROC_set - to set all objects

When you type in PROC_initlib and dialog box stuff, you run your program and the objects are resizable and movable. When you are happy with it, you close it and use PROCset to keep everything in place.

Can someone do it?
smiley
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Easily add stuff
« Reply #3 on: Oct 7th, 2013, 06:08am »

I have been creating a DLGLIB for myself, which is constantly growing everytime I require another command. However, the constant adaptation and total number of commands that could potentially be included makes the library I'm doing inappropriate for the public domain - IMHO. I could list it here, but I'm sure those with a much higher and more logical programming skill would tear it to shreds.

Matt
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Easily add stuff
« Reply #4 on: Oct 7th, 2013, 11:14am »

on Oct 7th, 2013, 06:08am, Matt wrote:
I could list it here, but I'm sure those with a much higher and more logical programming skill would tear it to shreds.

Perhaps you could find one or more other BB4W users with whom you could collaborate to develop this further, rather as the 'community edition' of the Dialogue Editor was developed (although that rather seemed to fizzle out at the end).

I would be interested to learn to what extent the GUILIB that I proposed a while ago (and a tentative specification of which was published) would have met your needs. Again that's something that - try as I might - I couldn't drum up enough enthusiasm for to get moving.

If there is one thing that highlights the difference between the BBC BASIC community and the Liberty BASIC community it is the degree to which LB is 'user supported' (look at FreeForm and Liberty BASIC Workshop as examples of tools that have been written by users). With a couple of notable exceptions I have had to write most of the BBC BASIC tools myself.

Richard.
User IP Logged

Edja
Developer

member is offline

Avatar




PM


Posts: 60
xx Re: Easily add stuff
« Reply #5 on: Oct 7th, 2013, 1:27pm »

On this forum I've never seen anyone "tearing to shreds" someone else's contribution.

In my experience you'll get constructive and usefull tips and suggestions to improve your code and ideas to expand its functionality.

The worst that could happen is that you'll get no response by lack of intrest. But I suppose you'll survive that.

Just list it.
Eddy
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Easily add stuff
« Reply #6 on: Oct 10th, 2013, 05:26am »

on Oct 7th, 2013, 1:27pm, Edja wrote:
On this forum I've never seen anyone "tearing to shreds" someone else's contribution.
My appologies, Edja. My intension was to imply that others with far more experience and expertise might find the coding primative and crude, thinking to themselves, "why this way, that's just daft". Not that they would write damning reports about it on here.

If others are willing to help produce a community edition, I'm more than happy to list it here. Although, it is long (142 lines) and would be better suited to being place on somewhere like the Wiggio site.

Anyone interested? And where shall I put it?

Matt
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Easily add stuff
« Reply #7 on: Oct 10th, 2013, 09:12am »

on Oct 10th, 2013, 05:26am, Matt wrote:
And where shall I put it?

That's a good question! With Yahoo having broken the Files List functionality (you can no longer link to an individual file, AIUI) that is no longer suitable. Options you could consider are:

  1. The files folder of the Wiggio group. Although it seems the group is unsuitable as a replacement for Yahoo, its files repository appears to work OK and I believe it can be accessed by non-members.
  2. Personal web space, if you have any (e.g. provided by your ISP as part of your broadband package).
  3. The Public folder in a free Dropbox account

Richard.
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Easily add stuff
« Reply #8 on: Oct 10th, 2013, 8:46pm »

OK.

It's in the Wiggion Temp folder: DLGLIB.bbc

http://wiggio.com/#tpl=folderlist_1911366

Please feel free to make any constructive comments. The file is uploaded purely as is. I have made no adjustments.

Matt
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Easily add stuff
« Reply #9 on: Oct 10th, 2013, 9:10pm »

on Oct 10th, 2013, 8:46pm, Matt wrote:
It's in the Wiggion Temp folder: DLGLIB.bbc

I think only members will be able to access it that way, and I certainly don't want more people joining just to be able to download it! Click on the button to make a link, then publish the link, that way everybody will be able to access the file.

I'll save you the trouble this time, but in future that's the best method to use (everybody take note please):

http://wiggio.com/yui/folder/stream_file.php?doc_key=o7Jktoc8GfH9zZPXoTRxC0n8y2cBIJbHocRLDacLjyo=

Richard.
« Last Edit: Oct 10th, 2013, 10:06pm by admin » User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Easily add stuff
« Reply #10 on: Oct 11th, 2013, 05:36am »

on Oct 10th, 2013, 9:10pm, Richard Russell wrote:
Click on the button to make a link, then publish the link, that way everybody will be able to access the file.
Hadn't noticed the 'link' link. I was trying to copy a link to the Temp folder, which I found didn't work anyway. Will do it that way in future. Thanks.
Matt
User IP Logged

Edja
Developer

member is offline

Avatar




PM


Posts: 60
xx Re: Easily add stuff
« Reply #11 on: Oct 11th, 2013, 09:32am »

Would you have a minimal program somewhere that uses this libraries' functions just to demonstrate the "mechanics" ?
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Easily add stuff
« Reply #12 on: Oct 11th, 2013, 5:25pm »

on Oct 11th, 2013, 09:32am, Edja wrote:
Would you have a minimal program somewhere that uses this libraries' functions just to demonstrate the "mechanics" ?
Not really. I've just been adding to the lib whenever I've wanted to do something different. I could write something if you wanted, but it might take some time. All I would do is produce a comprehensive array of controls in a dialog box and throw a few of the library elements about. Not exactly a great demonstration, though.

Matt
User IP Logged

Edja
Developer

member is offline

Avatar




PM


Posts: 60
xx Re: Easily add stuff
« Reply #13 on: Oct 12th, 2013, 11:49am »

on Oct 11th, 2013, 5:25pm, Matt wrote:
All I would do is produce a comprehensive array of controls in a dialog box and throw a few of the library elements about. Matt

Still, this would be useful (if not too much effort !!)
Eddy
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Easily add stuff
« Reply #14 on: Oct 13th, 2013, 10:30am »

OK. Slightly edited version of DLG_LIB.bbc:
http://wiggio.com/yui/folder/stream_file.php?doc_key=VlTlnRespI5YxHZ9xmvhh5/tAtfwYbimUi6e9OYTsiU=
due to a few PROCs that had little to do with a community edition.

And a rough version of a demo DLG_LIB DEMO.bbc:
http://wiggio.com/yui/folder/stream_file.php?doc_key=QOuxQRn7VPBqKg+zu1OAMtljyAZWXUF6a2reduZv5+Q=
This doesn't utilise all aspects of the LIB, but please play around with the code and see what happens.

Matt
User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls