Did modularity of basic programming first appear with visual basic? - module

Modularity of basic programming first appeared with visual basic? True or False?

False, even GW Basic & Quick Basic which have appeared before visual basic have modularity.

False - Gordon Eubanks product: CBasic (written aboard USS George Washington) first available from IMSAI then later from Digital Research Corp after they bought it circa 1981 see this entry on wikipedia for more information.

QBasic (and presumably QuickBasic) had subroutines and functions which were (or at least could be) viewed and edited separately from the main program. While not file-level modularity, that does stand as one example.

I've seen examples of clean, modular BASIC code that predate VB. In general, you can use any programming approach with any syntax, although some syntaxes encourage a particular style. The BASIC language is free-form enough that the style it tends to encourage is "messy". Over the years Microsoft has made an effort to introduce features in VB that promote more structure.

Microsoft's BASIC PDS 7.1 compiler (Professional Development System) from 1989ish was very modular. You could link in C routines & Assembly routines (and Fortran IIRC). And the Basic itself allowed for calling other BASIC routines as sub-routines ect. I still use it today.

Related

Are VBA and BASIC the same thing?

I was thinking about learning BASIC, because a friend told me that that is the language being used in Excel, but when I searched on net, it showed that VBA is the language being used to code in Excel. So I was confused whether both of them are the same thing. If they are not is it that both of them can be used to code in Excel? If it is so, which is better for a person oriented with OOP based Java language?
VBA is one BASIC
There are many different languages on the BASIC family and not a "standard" BASIC. VBA is acronym for Visual Basic for Applications. In its case, the name actually tells much of the story.
The first BASIC language was developed in 1964 as a general purpose language, relatively easy for non-scientists. Since then, many variations emerged. Diferent versions of BASIC were available on the ROM of most microcomputers on the 80's (MSX, Commodore etc.) and were the main languages used by hobbyists programmers. Each version had different syntax and semantics and moderate effort was required to port programs between plataforms using different BASICs.
In 1992, Microsoft developed a version for Windows that combined BASIC code with Drag'n'Drop UI design, and named it Visual Basic. Thus Visual Basic is a version of BASIC featurning Visual UI design for developing MS Windows programs.
When Microsoft decided to implement macro languages for the Microsof Office products these were BASIC variants (WordBasic, AccessBasic...) but later all these were unified to use a single language - derived from Visual Basic 6.0, and named Visual Basic for Applications. It was later adopted in some other non-Microsoft applications such as Corel Draw and WordPerfect. Thus, Visual Basic for Applications is a version of BASIC featurning Visual UI design for extending MS Office (and certain other) Applications.
So, all in all, VBA is just a (very specialized) version of the BASIC language.

Intellisense in c++ builder?

I'm very disappointed with c++ builder intellisense, so I'm wonder is there any good intellisense that can be used in c++ builder? Something like visual studio have "Visual assist". My current version of builder is 2010, is the x2 have better intellisense?
I doubt if there is a good C++ compiler...
Code Blocks allows the user to hide all the text within an opening brace and a closing brace.
DevC++ can only give colors to different stuff. And it's really old. I used to use it when I was learning C++ at school.
MS Visual C++ allows the user to hide all the text within a function or class and comments that are longer than one line. This is my personal favorite. But it's a bit heavy for old systems (like my 5 year-old laptop).
If I were you, I'd start testing any compiler I find for some time. This way you can see which one mostly suits you.

Can VB.NET be used as a game engine?

I know VB.NET, and I've been planning on creating a simple 2d game engine. I got no problems with creating such engine and running the actual game. However, I've been told that VB.NET might not be the best choice for "working too much with graphics". I'd like to know if that's true. Can VB.NET truly not manage efficiently loads of graphics simultaneously on the screen? If no, what kind of software am I supposed to use for creating this engine?
I have found that people generally view VB.NET as a subpar language, and mostly associate it with Visual Basic 6.0 (or earlier).
In the .NET world, VB.NET is a first class citizen that simply has a verbose syntax. It's particularly because of the verbosity that I would probably choose C#, if not going with C++.
Still, you can use VB.NET to work with whatever drawing libraries that you want, and you can even use it with XNA and Managed DirectX. It can even be linked against unmanaged libraries as long as you are willing to do to the required interop.
As for managing the graphics on the screen efficiently, it really depends on how well you do it, and how much you want done. If someone can do it well in C#, then you can do it well in VB.NET with the exception of unsafe code. It's too general to say either way given the vague "simple 2D game engine" description, but chances are it is more than possible.
These days, managed code is quickly catching up to unmanaged code, and while it's not quite perfect, it is really impressively good.
It's not the language you need to consider as much as the Framework.
Suggest you look at XNA:
Your First Game - XNA Game Studio in 2D (step-by-step tutorial)
Also, DirectX:
DirectX Developer Center
Learn DirectX
VB.NET Already supports XNA including on Windows Phone 7. So if you are looking to develop games and if you language of choice is VB + XNA you are all set to go.
Take a look at the official announcement: http://blogs.msdn.com/b/lisa/archive/2011/03/28/xna-is-coming-to-visual-basic.aspx
Visual Basic's primary use is for Win 32 Apps with a standard GUI. If you are planning on building a game I definitely recommend C++. It has faster execution speed and better libraries for game development. Visual Basic will not deliver as good of performance of C++ would give you. IMO It would be better for you and the user.
I don't know much of the graphics issues in vb but as far as i have heard you can't create games for xbox using vb.net, it only supports PC.
XNA game studio can be used for game development. Although it is supposed for c#, you can find how to use it with vb in here...
http://www.alanphipps.com/VisualBasicdotNET-XNA.html
If you are still relatively new to programming then C++ is more than likely to make you quit early.
Don't aim at C++ until you have at learned C#.
C++ is a great and diverse language but definitely not friendly grounds for anyone who hasn't been programming for a long time. This is ESPECIALLY considering if your first language is one such a VB.
To Answer the Topic?
Yes vb.net can make a game, arcade,FPS,RPG,MMO or what ever you what within your ability to code. if you wanna learn some find playing with open source engines to get the feel helps. so try looking up some and give that a go.
my comment is at the person above's comment,
Visual Basic can do alot, and we find out new stuff all the time.
i seen vb6 game engines work well, graphical and feature wise.
wile visual basic is more down to earth for writing, C++ isnt ik its not, ive tried it.
but VB i can pick up easyr.
my experience ?? 2007 to present day, ive work with vb6 mmo game engine source codes,
Mirage,Elysium,Eclipse,EA,EFF
ive also tried using irrlect engine years back.
for a beginner should learn VB.net or C# .
C++ is to complex.

VBx Language, What is this?

In Ironpython site exists references to a language called VBx using DLR. But i can't find any reference to this in google. Where is it?
Edit: Is a Implement of Visual Basic 6.0 in DLR? if yes is so cool. Is more expected for people using VB6 yet and can't migrate because big frameworks.
From this mailing list post:
VBx was an implementation of Visual Basic on the DLR. It was first meant
to be in Silverlight, but the VB team decided they'd rather put VB.NET in
Silverlight rather than build a new implementation up from scratch. So, VBx
is on hold.
Apparently it's an implementation of VB in the DLR:
http://www.mail-archive.com/users#lists.ironpython.com/msg05933.html
Straight from the mouth of Paul Vick (long time VB architect)
What is VBx?
VBx was one of the four language implementations that were originally driving the design of the DLR, the other three being IronPython (from which the DLR was extracted in the first place), IronRuby and Managed JavaScript.
VBx was intended to be a dynamic version of Visual Basic.NET or a .NET version of Visual Basic 6, whichever way you want to look at it. It was primarily intended as a testbed for the flexibility of the DLR, secondarily as a testbed for a more dynamic version of VB.NET and tertiarily (is that a word?) as a scripting language for Silverlight. It has fulfilled its primary goal and the designers of VB.NET decided that they want to pursue goals two and three within the existing VB.NET language, rather than producing yet another slightly different incompatible version of VB. (You already have VB.NET, VB, VBA and VBScript.)
Managed JavaScript was also abandoned, the team was folded into the IE team and is responsible for the ECMAScript 5 engine in IE 9.

Is there any Subtext IDE or equivalent Example-driven Visual Programming Language/Interface published on the Internet?

I'm really excited about this new and experimental language named Subtext. But it's author haven't released nothing about it besides some papers and videos. Should I clone it? There are similar alternatives?
UPDATE I'm looking for an example-driven VPL, not just a VPL.
As Edwards' says in his related work section, the Self programming language is very similar. It shares subtext's emphsis on directness, uniformity, and liveness, but doesn't emphasize a tabular format (Schematic tables).
A lot of of work went into the Solaris version:
http://research.sun.com/self/papers/papers.html
seems there's a Mac & linux version, not sure how mature it is:
http://selflanguage.org/
Here's a video demo'ing Self, where they emphasize directness, uniformity, and liveness:
http://www.smalltalk.org.br/movies/
When you say "any VPL", do you mean none at all, or not a run-of-the-mill one? From the wording of the title question, I'll assume the latter. Here're a couple with some serious programming theory behind them:
Morphic is/was a/the UI piece of Self, and is now ported to Squeak:
http://wiki.squeak.org/squeak/2139
Prograph was a way-cool system, but I don't know of an available version.
A bit further out there is Kahn's Toontalk, based on Pictorial Janus:
http://www.toontalk.com/
I am sure you are aware of VPL On Wikipedia that lists many different VPL languages. You have not supplied information on what you are trying to achieve but another site is Synopsis. This is a commercial product.
From their website:
Synopsis is a completely visual RAD tool for Windows that frees you from having to write textual code and learning unnecesary programming details. With Synopsis you can concentrate on creating software instead of wrestling with mundane and complex low-level development tasks.
The image below shows how this application looks:
(source: codemorphis.com)
Granted my knowledge on this subject is limited and I do follow this to see if something really powerful can be created. I did see a project on CodeProject or CodePlex that was written in C# that allowed VPL but I cant find that URL.
If I ever do find that application I will edit this post!
You haven't provided more information about features you expect from such a VPL environment, but I think that "Tersus" could be interesting thing to look at. There're many VPLs, but mainly they're targeted as educational tools or addition to particular technologies (i.e VPL for Microsoft Robotics Studio) to simplify common tasks programming. The "Tersus" is full blown application development platform. It's open source and free to download for many OSes.
http://www.tersus.com
Coherence — The Director’s Cut
The Coherence home page is up at http://coherence-lang.org. The submitted version of the paper is there, with a new intro and a surprise ending.
Coherence claims to be an experimental programming language, a continuation of Subtext using other means.
Intentional shipped, but they are still kind of alpha, with limited distribution and testing. You can make example driven DSLs, but I don't know if the environment itself works that way.
http://lambda-the-ultimate.org/node/3287
You could look at the work on eve that is happening too:
http://incidentalcomplexity.com/