Jose's Read Only Forum 2023

General Category => Meta Forum => Topic started by: Kent Sarikaya on July 27, 2007, 02:57:40 AM

Title: Asking questions?
Post by: Kent Sarikaya on July 27, 2007, 02:57:40 AM
Guys as you know I am new to powerBasic. I can see reading the posts here that the main powerBasic forums have lost meaning for a lot of you or the community there has sort of faded away and now in this nice forum you are gathering again. I don't want to do anything that doesn't fit into this forum and its goals. But being so new to powerBasic I do and will have many questions. My focus will be in the area of games and graphics mainly as I want to use powerBasic to write some tools for game development and general 3d development and play.

Anyways is it preferred that I ask questions here or should I ask them at the powerBasic forums, until I become a lot more familiar with powerBasic and move into a hard core user status?
Title: Re: Asking questions?
Post by: José Roca on July 27, 2007, 05:30:26 AM
 
Well, nobody forbids you to ask questions in both forums, although PB has never attracted game programmers, I assume that because of the lack of examples and ready to use graphic libraries. The compiler is more powerful than most if not all the other BASIC compilers, but has mainly attracted programmers that write business applications.

I'm doing an effort posting translated headers and examples, as well as the recent wrappers for DirectX, to see if I can help to change the situation, and also to learn something in the process, because I know nothing about graphics programming.

I have written an email to Vladimir Shukalov, that is a great programmer and an expert in DirectX. He has replied that he will join this forum but later, because he first has to finish two projects.

This forum is still very young and has few active posters. I guess that many PBers are lurking and waiting to see what happens.
Title: Re: Asking questions?
Post by: Eros Olmi on July 27, 2007, 12:25:06 PM
Ken,

as José suggested, no one can stop you to make posts here and in PB forum. You are PB customer now so you are entitled (following PB policy) to ask whatever PB related in PB forum. More, someone talking about creating games using PB I think it is a good things. And a little link to José forum would be not bad too :)
Games are programs and in many cases much more complex and challenge than many "serious" ones.

As you can see here, José has made a BIG BIG job and has produced so much source code than any other PB user. And all FOR FREE. I really hope many PB users will come here to talk about programming and not about ... religion or politics like recently has happened in PB forum.

It is also my feeling that PowerBasic compiler is one of the best Basic compiler around. It has elegant syntax, it is really rock stable, it is fast and produce fast and quite optimized executables. The dark side of PowerBasic is that you need to know a lot on computer programming and OS inside to be able to get the best from it but, ... is that a cons?

Ciao
Eros
Title: Re: Asking questions?
Post by: Kent Sarikaya on July 27, 2007, 05:49:49 PM
Thanks guys hope to have some contributions in the coming months. Still got lots to learn.
Title: Re: Asking questions?
Post by: Donald Darden on August 24, 2007, 09:42:17 PM
The thing about forums in general is that they are there to benefit everyone.  It's like gathering with a bunch of guys that like to talk about what interests them, and they have the most fun when that get together with people that share the same interests.  We are here because we like the neat things that computers can be made to do, and sometimes to show off our work.

You can program games in PowerBasic, but it is not the compiler of choice for that purpose.  That is because languages that are designed for gaming already include elements that you need for handling tasks automatically.  For instance, you can describe something by giving it attributes, and a game compiler will automatically manage not only that item, but what happens when it collides or meets up with other items.  In PowerBasic, you have to design and manage all that with your own code.

There is increased emphasis on game engines that handle the details for you, doing all the hard work, and letting you essentially script the elements of each new game.  Iy's a different art form.  I've seen efforts to use PowerBasic as the front end, to program the scripting process on the fly.  I could not get it in my head how that might be better or worse than just sticking with the scripting process.

There are multiple game models that you can consider and use.  There are games that are purely random in nature. like throwing dice.  There are games that involve strategy, such as Chess.  There are multiplayer games, some where each player has a specific time to act within (such as players taking turns), and others where each player plays at their own speed, and having a faster computer and internet connection might give you an edge.

If you have an idea of the type of style of game you want to develop, you might look for game engines that are used to produce similar games, and then do some research into them.  There are many web sites and languages that are focused on game programming, and I'm sure some of those will prove helpful.

There are many facets of PowerBasic that really make it really best suited to communications, commercial, data and financial applications.  Efforts by a number of people here are showing that with a bit of effort, it can be the heart of great graphics and audio applications as well, and that even Microsoft's boring windows and dialogs can be made lively and attractive,  But game programming is rather a specialized area, and to be frank, few followers in that group think that PowerBasic would be their choice for game development.

Take a look at PureBasic as a language that fits somewhere in between.  Look at the commands that support the keyboard as an example.  In PowerBasic, you see the keyboard as buffered input that you can process with several functions, either a character at a time, or as a line of input text.  Text correction is allowed before you commit to a line with the Enter key.  A couple of timers are used to determine if a key is entered repeatedly, and at what rate.  Dialogs are a way that you receive input when in Windows mode. 

PureBasic, on the other hand, allows you to see each key as an independent button, so that you could emulate a joystick, flight console, or other device by pressing and releasing keys independently of each other.  To try and do the same thing with PowerBasic requires a considerable effort and a lot of trial and error to get the timing and code down right.  .
Title: Re: Asking questions?
Post by: Kent Sarikaya on August 25, 2007, 12:28:27 AM
Thanks for your nice reply Donald. Right now I have settled into using thinBasic for game development. Petr is doing some really great things with tbgl and Eros is always updating thinBasic with whatever we need. Soon there will be evidence of what can be done in thinBasic that is pretty amazing.

I will use or try to use powerBasic for developing tools to aid in making games. I enjoy making tools as much as working on a game. With all the recent additions that Jose has done I will give them all a shot to see how far I can go. But for the foreseeable future I will give thinBasic/powerBasic a workout. I figure in 2 years or so, almost everyone I know will have .net on their computers that I know. If powerBasic is not updated then I might look at moving on to something with Object Oriented Programming, like C# or maybe F# with XNA. Free Pascal also looks really interesting as it is available on so many platforms.

One thing is for sure, it is a great time to be into programming. There are so many interesting languages.
Title: Re: Asking questions?
Post by: José Roca on August 25, 2007, 12:45:22 AM
 
Quite sure that PowerBASIC will be updated. A company needs to earn money to survive. Its just that instead of releasing 24 betas in 2 years, they release a thoroughly tested version.
Title: Re: Asking questions?
Post by: Kent Sarikaya on August 25, 2007, 08:17:49 AM
The next release will be my first experience in the types of movement they do with updates. It will be interesting to see which direction they go. I can imagine it is tough to decide as all users have something else they are interested in and want. So what might be a feature for me is a turn off for someone else. Not the type of decisions I would like to make.

With all the stuff you are doing and the other's are showing here on the forums,  it puts a fresh face on what otherwise looks outdated and overpriced when you first get it and use it compared to the development alternatives out there. It didn't even come in a nice cd case, for a pretty expensive program, no manual and no useful form designer, I know all superficial, but it gives a bad user experience the first time you get and try to use it. If Eros didn't tell me about your site, I probably would have not used it and just put it aside as a bad purchase.

This site is like the best marketing, education and showcase for what can be done with PowerBasic!!
Title: Re: Asking questions?
Post by: Donald Darden on August 25, 2007, 10:57:24 AM
I understand where you are coming from.  I've used PowerBasic for many projects and prefer it for many reasons.  I'm glad that this site is giving you cause to stay with it and see what it can do for you.

Games are about action and dramatic effects.  The difference between a daytime soap and something like StarTrek is the setting and premise for the dialogue.  What I am saying is, that strip away the storyline and consider the guts of the game, and one shoot-em-up is pretty much like another.  It's the surreal elements that make them unique.

The thing is, PowerBasic is a really sound compiler that does exactly what you ask it to do.  But the hooks for realtime game play are not exactly in place, simply because that has not been the company's target.  That doesn;t mean it can't be done, just that it becomes more of a challenge to your skills.  And as Jose points out, there are expectations that PowerBasic will continue to grow
and morph in response to requests and suggestions.  But Bob Zale keeps a tight lid on his plans and development, so we just have to wait and see.

Yes, I agree that ThinBasic is rapidly becoming a really powerful and flexible
prodict in its own right.  You might say that it his is proof that PowerBasic is a fine launchpad for something that can go way beyond that which was ever envisioned for the parent.  It really surpasses what most users might expect from their product. 
Title: Re: Asking questions?
Post by: Charles Pegge on August 25, 2007, 12:33:26 PM
In the software ecosystem, Powerbasic comes fairly low down, a sort of C with built in dynamic strings. Not very flexible but small and highly efficient, it can support a wide range of higher level software including ThinBasic. XML languages come near the top of the ecosystem.

I think many of us here grew up with BASIC from era of the home computer, before the PC came along, which itself had a very feeble implementation of BASIC. Microsift could have chosen to enhance its mBASIC compiler and base Windows on that rather than adopt C++. Our software habitat would have taken on a very different flavour - with a more accessible infrastructure, and far less battling with strings and memory management.

Perhaps it was that famous comment by Djikstra which decided it:
Quote
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
http://www.cs.virginia.edu/~evans/cs655/readings/ewd498.html

Which of course cannot be said of contemporary BASICs or indeed of any language which supports block structures.



Title: Re: Asking questions?
Post by: José Roca on August 25, 2007, 05:04:39 PM
 
Kent,

There are CDs and printed manuals available.

I could be using whatever language I would like, but I don't like "drag and drop" style programming. I prefer to do research and I mostly use the console compiler, excepting when I need a GUI.

To me, to start learning programming with a very high level language is like if in the school they will say: You don't need to learn how to add, subtract, multiply or divide, just learn how to use a calculator.

If you have high level languages it is because low level programmers make them. VB was a success thanks to C programmers that made ActiveX controls for it. Too high level languages don't make good programmers, just code hunters surfing the web in search of a piece of code that they can cut and paste in their application.
Title: Re: Asking questions?
Post by: Theo Gottwald on August 25, 2007, 09:42:13 PM
Thats a wise word, Jose.
I can recommend anyone who has children, to let them learn the Trachtenberg Speed-Math System.
If you still need a calculator to get a Squareroot, this is your way to go.

I have selected some books on this subject, here:
Theo's selected Books (http://astore.amazon.de/fa2store-21/302-5167176-0791242?%5Fencoding=UTF8&node=18)

While you can see some of the Basic principles here:
Trachtenberg Speed-Math (http://mathforum.org/dr.math/faq/faq.trachten.html)

People beeing trained in this system can calculate nearly anything in their head, faster then you can type it in a calculator. And of course such abilities have a very good influence on the later life of children, trained in speed-math.
Title: Re: Asking questions?
Post by: Kent Sarikaya on August 25, 2007, 10:47:52 PM
Very wise words all and true I am seeing. I guess my wanderings have brought me to the point where I like and respect the benefits of both ways, low level and high level.

Petr and Mike are already doing this and I hope too soon, that is develop our tools in powerBasic to bring higher level elements to thinBasic for game/2D/3D development.

What would the world have been like if Basic back then was where it is today and if Microsoft had used it? That is really interesting Charles. I also like your description of powerBasic, it sure seems like a perfect description.

Thanks for the links Theo.

Donald, you are right about games, but in a sense life is like that. All of our lives have the same basic elements like a game, but with the things that make up the details our lives are quite different. And so games are like that too. That is what is so appealing about them, playing and making.

I don't know if any of you had the pleasure of trying out Virtual Simulators, that is total submersion with gloves and helmet displays, but I have had the chance twice. The first with vector graphics, just wireframe 3D world, but it was really cool. Even with very low level primitive graphics the experience of being totally surrounded in this virtual space was indescribable. Then a couple of years later I got to try a multi-person Doom level graphics type Virtual Simulator, four of you fight giant spiders in a 3d world. It was just incredible. I was just walking around in a daze at how cool it was-- getting killed left and right, and by the time I got a sense of the wonder of the space and was ready to get into the game to fight the spiders the simulator time had ended.

If you research on the web, those systems are still being developed, but laying very low. I think they are waiting to get the technology to a really consumer level pricing and then bring a new wave of excitement to the consumer world. I for one can't wait.

The future is drag and drop and tweaking for such development. I already mod maps in some of my favorite games and even with the power of their level editors of drag and drop, it is very time consuming work, making the new models, textures, sounds, music, and then laying out triggers.

Nice that with powerBasic and thinBasic we will be able to do both.

It would be great if some of you guys would join us in development at thinBasic with your powerBasic skills. There is lots to develop and it is fun stuff to work on!!
Title: Re: Asking questions?
Post by: Donald Darden on August 26, 2007, 12:41:01 AM
It's an interesting question, about the increasing blur between our physical lives and virtual experiences.  Even the government recognizes that there may be value, taxable value at that, in virtual space.  I wouldn't mind paying my taxes in virtual dollars, but I don't think it will ever go that far.

Still, we can see signs of people everywhere trying to escape the mundane and the unpleasant aspects of their lives, either by drug-enduced altered states, or through contact with visual, audio, and tactical stimulations given us by various technological deployments.  People who now stay tuned in incessantly to their favorate music, or constantly in touch via cell phone, or always playing some game via a gameboy, phone, or PC.  The rapid advances in what can be done with technology increasingly makes some people techno junkies - before they can completely tire of one technology, another is there to capture their interest and money.

As we increasingly learn of how the mind ticks and how to interface with it, we will see exploits of that knowledge.  Already we see where people are learning to adjust their brain patterns, without really knowing if this is beneficial or not, and to control devices that are linked to us and which can monitor our mind, nerve pulses, or muscle contractions.

While some of this holds promise for those that are somehow disabled and need help, there seems to always be a dark side to how technology is deployed.  The original vision of television is that it could be used for the public benefit, but the real driving force turned out to be in using it to promote and sell products, and the bait was in its entertainment value.  Unfortunately, what entertains most is that which tends to horrify of fascinate us, or appeal to our baser nature.

In a way, it seems like reality is slipping, or losing its grip in the face of this virtual onslaught.  Perhaps our goal is to enter a perpetual dream state, where we have it all, and avoid ever having to deal with the unpleasant things of life.
Perhaps we will turn to virtual relationships in place of real ones, and we pursue (or are pursued) by the icons of beauty and attractiveness that exist in our culture.  Already we see some people so caught up in one form of virtual reality or another to the point where they cease to go to classes or to work, live on junk food, hardly sleep, and withdraw from the real world as much as possible.

I've wondered how much I want to be a part of that.  I play a lot of Free Cell when idle, a way of marking time I guess, and it frees my mind from constant boredom, but I sometimes wake up in the morning with the cards being played out in my head.  At least it is better than the days when I played Doom II, and woke up with gory images in my head in sort of a flashback.  I became aware that the mind cannot readily distinguish between what is real and what isn't, and the residue mental effect from a real or virtual experience can be pretty much the same.  The military uses this effect to accustom soldiers to the idea of killing, by various forms of simulators that are increasingly realistic in nature.

It's the same effect that takes place in our children when we constantly expose them to violence in movies, on tv, and to video games.  It is a very real effect, and obviously it is capable of having a lasting effect on them, and on society as a whole.

So I decided I was not interested in pushing that technology myself, and this taint is possibly my reason for not really going the gaming route or getting into computer graphics very much.



Title: Re: Asking questions?
Post by: Frederick J. Harris on August 26, 2007, 04:40:27 AM
Quote
Too high level languages don't make good programmers, just code hunters surfing the web in search of a piece of code that they can cut and paste in their application.

That's exactly why I didn't get too far into the .NET thing.  When that first came out I bought several books (Petzold, Belana, etc) and studied up on it for several months.  Then I started to try to apply it to simple projects.  I never feel like I've mastered a programming language until I've spent about a year with it 'in the bits' on a major project.  What I found I was doing with it was spending countless hours searching help forums for ways to do various things, or searching hundreds of megabytes of MS documentation on a particular class.  Then a couple of things 'dawned' on me. 

First, I wasn't writting any code.  And that's what I like to do.  I was spending all my time connecting dots...

Second, and even potentially more serious, I realized that before I really mastered that huge mass of material and documentation, it would be 'depricated', and most of what I had put a couple years into learning would be close to useless.  I find this latter issue really scary, and havn't really come to terms with it.

Where I work nobody really cares what tools I use to do what I do, so I decided to use the tools that make me happy, ie., give me satisfaction.  So since I like low level stuff where I'm in total control of everything, I use PB or C.

Your comments about virtual reality and online community are interesting Donald.  I'm still trying to figure that out myself.
Title: Re: Asking questions?
Post by: José Roca on August 26, 2007, 05:02:19 AM
 
Quote
First, I wasn't writting any code.  And that's what I like to do.  I was spending all my time connecting dots...

I know. I started to learn VB.NET and left it after some months. Ask a .NET programmer to write code without using the IntelliSense feature of the editor...
Title: Re: Asking questions?
Post by: Theo Gottwald on August 26, 2007, 09:01:13 AM
> Even the government recognizes that there may be value, taxable value at that, in virtual space.  I wouldn't mind paying my taxes in virtual dollars, but I don't think it will ever go that far.

A good word, Donald. I really hope that one good day people realize that a gouverment that working significantly different from a successful company, is not the best choice.

>I became aware that the mind cannot readily distinguish between what is real and what isn't, and the residue mental effect from a real or virtual experience can be pretty much the same.

Thats an essence of modern brain science (http://www.scienceforsuccess.com/telesemaudio-01.htm). People beeing afraid from snakes can be really get mad wether there are real snakes or not, its enough to show them pictures or just tell them "there is a snake".
While i also liked to play SWAT4 some time ago, I think the gaming industrie has gone the way of the least resistence and did not make games which can really help young people to increase their human power.

Games with real results (technological or oeconomical) seem to be something unthinkable these days.
Maybe the future will bring out games where young people can construct new cities, and infrastructure and lead markets ... the technology would be there, the phantasie from the developers is still far from that.

Title: Dear suffering programmers...
Post by: Norbert Doerre on August 27, 2007, 01:17:17 PM
Dear suffering programmers,

I have been a enthusiastic programmer since I got first time the opportunity to access a computer at the German University of Aachen in 1971, where I needed it for large geometric calculations. I got to know some interesting programming languages, trying out the one best suiting to my intentions. First I only needed simply a programmable calculator, later this was not enough to display and print geometrical structures. So I started using Fortran on SCO Unix 5 successfully. But upcoming with PCs and their visual interacting user interface, I had to make the decision to become more involved in building user interfaces than in the mathematical materia I was engaged with. Still nowadays, user interfaces need about 70% of programming time.
These premisses are important to show the relevance of the PB compiler and it's spartaneous "IDE" editor to the needs of a user friendly graphical interface.
The PB compiler is very fine and - with some ship arounds - usable for nearly all problems I have to solve. One of the most important things is - PB makes programmers quite independent from bloatware programming systems of monopolistic companies.
PB could be much more successful if it's developers could see that they hang to much on one single OS system and thus make their customers indirectly dependent, too. So, I guess that a great success could be obtained supporting other OSs. Now, it's still early enough to start investments into this direction. The situation at least in Germany is very hopeful, because all big companies say that they are not willing to run their expensive software on a "restrictive play console". I'm honest and tell You that this is my true opinion, too.

PB is called "Power Basic", and I consent, it is really a splended work.
But developers who have to write complicated math programs or complicated Interfaces do not only need a splended compiler but also a splended real IDE. In fact the PB IDE is only a simple editor has none of the qualities of the PB compiler. It is unusable to handle the programming problems of nowadays. It calls itself an IDE, but is not much more than an updated notepad, and in fact, It reminds me on the days of 1985, even using Windows.
The inconveniences start with the inability to handle indents/outdents correctly. (As soon as the step width changes, the chaos is perfect.) Did You ever try to find any expression in a program consisting of more than one file? If You don't know anything better, it seems to be a wonder to be able to change from one open ore closed window to the other to search in each of them separately, an at the end try to find back to the window which contains the last edited code position. My programs normally consist of at least a dozen of files. I got to now from some authistic programmers beeing able to hold in mind what the "PB IDE" should be able to do for everybody.
It ends with the absence of a code database making it possible to find and administer code definitions in any part of code. A programmer working on different projects or updates in different projects at the same time is completely left allone with this tool. A software should make life easyer, but the "PB IDE" is a gordian knot. It also makes no sense using a different editor offered from some other developers. They all handle at least indenting correctly and offer some small advantages, but they all cannot be real IDEs, only simple editors. The integration of the PB compiler into a synergetic dynamical database interface is not possible as long as there is no appropriate interface given by the compiler.
If PB would continue this self chosen way into neverland, it will loose attractivity to all programmers who have to handle big and complicated programs in the growing world just in time developments.
There bay be some few lonely developers knowing nothing better than the PB IDE, but successful commercial programming needs the appropriate tools.

So, my recit is that PB could have a great future. But this future is not dependent from the compiler itself, but from it's administrators.
They should NOW start to open the closed WINDOWS and have a look to brightly shining stars in the night.
They should NOW create a true POWER IDE for POWER BASIC, because a Power Basic needs a Power IDE.

What do You all think about this matter?

Norbert

Title: Re: Asking questions?
Post by: Frederick J. Harris on August 27, 2007, 04:59:56 PM
I guess I agree with most of what you say Norbert.  It seems to me PowerBASIC is a rather speciality product, perhaps not really for the masses.  If PowerBASIC wanted to sell to the masses (and I expect they do, anyone selling something wants to sell as much of whatever they make as they can) , I expect they would have to do what you said.  I personally don't have any idea at all what PowerBASIC's resources are.  Sometimes I wonder about it.  However, I think it might be hard trying to go up against Microsoft, when Microsoft is giving away for free a lot of their development tools.

I imagine all of us who use PowerBASIC as our predominent programming language have our own unique reasons for using it.  My own inclinations in programming is to master to as high a degree as I am capable a particular programming paradigm that has both power and extensibility.  I prefer this to hopping on the band wagon of the latest and greatest thing to come out of Microsoft, when every couple years something entirely new comes out, and everything else is 'depricated' and thrown out.  My time on this Earth is limited, and I can't afford to struggle to acquire large amounts of knowledge, and then have it thrown out in so cavilier a manner.

I'm fairly happy with things just as they are with PowerBASIC, frankly.  I've found the Lynx Project Explorer to be an absolutely essential add on for use with any of the editors.  I havn't used it with PBEdit, as I always use it with Paul Squires JellyFish or Jose's et. el., SED Editor. 

If I were not using PowerBASIC, I'm not sure what I'd do.  Not sure if I'd look for another version of BASIC, or just use C/C++.  Probably the latter.  Just my two cents.
Title: Re: Asking questions?
Post by: Theo Gottwald on August 27, 2007, 09:00:24 PM
@Norbert.
Did you ever look around what else is there - often enough for free, or commercial alternatives?

While I agree with you, I can say that I do not use the PB IDE for long time, and I think most people in here also do not use it.

We use (besides the commercial Editors)
- SED - the famous Editor from Jose
- PrePBEd8 the Add on from Semen
and others more.

You find Links to all these things in the "Third Party" Forum. And to those who know other interesting Editors I currently may not use/know, please post a link and a description there.
Title: Re: Asking questions?
Post by: Frederick J. Harris on August 27, 2007, 09:53:20 PM
Just in case you aren't familiar with it or using it, here is the link to Lynx Project Explorer.  This is a "must have"

http://www.zippety.net/

It attaches to PBEdit, SED, JellyFishPro, etc.  I believe, many of the PowerBASIC add ons have Project Explorer functionality.  This Lynx though, it gives you the same functionality as Visual Studio 6, etc.  Click on a function, and you jump right to it.  Same with declares, Types, equates, etc., in Win32Api.inc and other headers.  Like I said, "must have".
Title: Re: Asking questions?
Post by: Donald Darden on August 28, 2007, 02:30:26 AM
I concur that the PowerBasic IDE is hardly the best choice if you want to work at managing any program development involving multiple files, what we would typically consider to be a Project.  But it is adequate for people who are accustomed to working with a single source file, or possibly just starting out.  It's main advantages is that it comes as part of the package, and it supports the built-in debugger.

The IDE gets relatively little attention from PowerBasic.  I've argued that it is the most intimate part of PowerBasic, and without a face lift, it is that much harder for anyone to appreciate when they see it.  I have noted that with each new update to the PowerBasic product, that the Help section has improved, and that has been a real benefit.

There are a few areas that I think have been sort of ignored.  One is the matter of templates.  It turns out that it is pretty easy to create customized templates for your source files that can serve to cause your new source files to come with all sorts of predefined settings in them.  Another is the limited coverage on resource files - if you know what resources are and how to use them, then fine, but PowerBasic isn't going to make their use and benefit obvious.  A third, the idea that beginners could benefit from a guided tour that teaches them the basics, is seriously absent.  A fourth involves PBForms and DDT, which I am not too thrilled with.  DDTs dumb down dialogs to the point where you might want to begin that way, but leave you no way to get into the customizing that is available under Windows.  PBForms is a tack-on product that doesn't really integrate in what I would consider an acceptable manner.  But that may be just me.

The main thing about BASIC is that it is not the optimum programming language for all applications, but it addresses elements related to many different uses more extensively than many competing languages do.  And the base of operators and data types provided with PowerBasic are sufficient to justify its claim as being one powerful version of BASIC.  And it is very rare to write code that is syntatically sound and not have it compile and work as expected, which means the compiler is rock solid.

What I am not thrilled about is that PowerBasic today is very much tied to either DOS or Windows.  The DOS version can be made to run under Linux in a DOS emulation, but it lacks the power of the more modern versions of PB/Win and PB/CC.  There have been hints that a PB/Linux version might someday appear, that would be essentially PB/CC, but adapted to Linux.  But that rumour has been circulating for several years now.  No sign yet if it might be true, or when it will happen.

Meanwhile, Microsoft continues to try and bring developers into its fold, and to sell everyone on its vision of what computing in the future will be.  I would have to say that most of the people here have, for one reason or another, decided that either they do not buy into Microsoft's vision, or do not feel that they want to be part of that future.  To these people, using PowerBasic is more like the type of program development that they believe in or want to be a part of.
But sometimes we see someone, already steeped in the Microsoft way, want to see PowerBasic become more like to what they are accustomed to or expect.

PowerBasic is in part a tool for empowerment.  You decided to use PowerBasic, you can also decide what IDE, Project Management, database, and other tools that best serve your needs and interests.  I'd like to be able to kiss Microsoft goodby someday, so my hope is that PB/Linux will someday surface.  But if it doesn't there is still FreeBasic and PureBasic, and other options.

Meanwhile, I am trying to decide what more I really need out of the PowerBasic compiler and debugger.  I've already got choices for the IDE and database management.  There is so much exciting work going on here with the present PowerBasic products, that I am hard pressed to think of anything else I need.
Title: Re: Asking questions?
Post by: Theo Gottwald on August 28, 2007, 08:39:55 AM
Just tried Lynx. Does it work with PrePBEd?
What F "L ... Code must I give in for PB 8 IDE?

The help file says that I have to keep single instance.
It says that it may get confused with multiple instances.
How serious is that problem?
Title: Re: Asking questions?
Post by: Norbert Doerre on August 28, 2007, 01:32:44 PM
It is good to see that there are some other programmers with similiar thoughts.
The reason why I'm using PB  - I think since 1994 - for Windows compatible code is not because I wanted to achieve a comfortable life but because my intention was and is to be independent at least from MS programming bloatware. A serious programmer cannot afford beeing permanently engaged in sniffing behind the next kink MS people insert in their latest updates, probably without knowing themselves about it.
In so far PB developers are doing right not to behave too progressively with updates. Also, users who are using at work a program fulfilling all their special needs won't even deny a program with a DOS screen. Professionals don't see at first a styled 3D user interface. Latter is merely something for children. But the tendency of MS is just to gain children and upgrowing young people for their philosopy of total coordination.
The consequence: Monopolism leads to less inovation.

PB has the built in qualities to offer a real alternative. For many programmers with the handycap using a non english keyboard C++ is terrible, for me, too. Overviewing a written code - even if You wrote it Yourself a year ago - is with C++ not quickly possible without large comment, because You might leave out a one character command or prefix anywhere in the code and You feel like a fool.
This does commenly NOT happen with PB, which is written in plain ascii code.
For some 'specialists' it seems to be a competition finding out the deeply implanted rescources of MS OS. Just this is the best indicator for an OS with many hidden features, which could change without announcement of their buiders. It is NOT a reliable base for programming seriously.

Developers of PB should only look at what could be done with official C++ and should copy it as far as really usable. They should simply forget their self made  Microsoft dependencies and create a PB version which could be harmonized with any OS.
Professionals world wide using MS OS are the minority, because MS don't care their needs, they only care for their benefit selling a controlled play console for upgrowing dummies, which is in fact the mass business.
I think You are already aware of the publication concerning VISTA from Auckland University. If not, have a look at it:
Peter Gutmann, pgut001@cs.auckland.ac.nz
http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt
Last updated 28 December 2006

I cannot believe that this could be the future. It would be the end of any innovation.

The chance to become successful with PB world wide has never been as great as now. I hope developers will understand it.

Norbert
Title: Re: Asking questions?
Post by: Frederick J. Harris on August 28, 2007, 03:46:58 PM
It would be nice if multiple instances of Lynx worked OK, but like you, I noticed that warning too and always refrained from using it that way Theo.  So I guess that is one of the negatives.  However, in my mind, the positives so far outweigh the negatives that I find the use of Lynx to be a very compelling proposition. 

The way I work with it is to start a file or project using PBEdit, just enough to create a *.bas file and save it.  Maybe add your includes in, cuz you eventually get to the screen with Lynx where it reads in all your includes.  Then I create the Lynx project.

Lately I've been working on projects where I'm using a grid custom control I built.  When I was first working mostly on the grid in the dll I used a Lynx project for that, and had the host (which I wasn't doing much with other than loading the dll on test runs) in PBEdit.  After having done most of the dll grid code I switched to using Lynx with the main host app and the dll code in PBEdit. So what works for me is to have whatever code files I'm doing the most work with open in Lynx due to the Project Explorer functionalities it provides, and less often referenced code open in PBEdit, Notepad, whatever.

If you switch between projects a lot you'll end up with code windows open in whatever editor you are using that rightly belong with a previously opened project.  These you can close.  Possibly you could keep them open but I'm very suspicious of computers and software and usually don't like to push everything to its limits all the time.