> From: Davd Brin <[EMAIL PROTECTED]>
> 
> > There are many freely and easily  available
> > compilers in many
> > languages so this doesn't really disturb me.   I've
> > heard Yet Another
> > Basic is good (though I haven't used it myself):
> > http://www.yabasic.de/
> 
> I shall try ybasic, thanks.
> 
> But after the horror of trying xbasic and qbasic and
> all the others, I do not expect much success.  All
> were created by techies who suffer from
> techie-disease... an absolute assumption that
> everyboddy who downloads their compiler will instantly
> and miraculously know how to use it.  The manuals are
> gibberish. There is nothing at all resembling a simple
> place to write line by line code and simply typr
> "run".

Visual basic does everything you describe except 'run', because modern
interpreters are not essentially acting as a command line operating
system, they just interpret code.  The way VB does it is better: it's
simpler, it's more intuitive, and it work the way 99% of all modern
programming environments work.  You push a VCR button (play) to run,
pause, or stop code execution.  The same way a...VCR works.  The same way
most electronic devices work.

> 
> frustration.  I already know BASIC.

Doesn't sound like it.

> I have books.  I
> have a zillion sample programs that are EXACTLY what I
> want to teach.  Logo looks nice but I do not have the
> time to learn another language and it definitely looks
> "higher" than the algorithm-based level that I have
> wanted to show to my son.
> 
> I want Z=2x, x=1, print Z.

2x doesn't mean anything in basic, you want instead 2*x, as "*" is the
multiplication operator.

You want to use ":" to separate statements.

What about this code:

Z=2*x: x=1: print Z

OR (a better version):

Z=2*x
x=1
print Z

does not work in VB or QB?

'Print Z' will print z on the current form.  However it is possible to
view all variables in the program at the same time in the interpreter
instead.

This will print 0 on the current form (2 * 0).

'Debug.Print Z' will print z to the 'immediate window'.

You can even type 'Z=2*x: x=1: print Z' into the immediate window on a
paused running program and it will do the same thing.

In fact you can get pretty much unlimited amounts of free VB help at the
Usenet newsgroup:
microsoft.public.vb.general.discussion
_______________________________________________
http://www.mccmedia.com/mailman/listinfo/brin-l

Reply via email to