subject: wtd.qbasic 1-line calculator.
ng: nz.comp, comp.misc.qbasic	 date:  18.07.98  19:35  pm.
alt.lang.basic

rem  >  pgms.programsPD.maths.qbasicalc

On my present computer I have made a
1-line calculator.
The following is the simple version.

I am thinking of buying a pentium computer.

Can anyone do a 1-line calculator for
ms. qbasic.   Please?

My 'SeriCalc4' prog has 40 mathematical, statistics,
printout, and prime number functions.
Thank you in advance,  tia.

= 12.0957757    ?*364           rem multiply
= 4402.86235    ?-402.86	rem subtract
= 4000.00235    ?/7.3		rem divide
= 547.945527    ?/6		rem divide
= 91.3242545    ?E3		rem * power of 10.
= 91324.2545    ?DIV 1		rem truncate to integer
= 91324    ?65			rem	append digits
= 9132465    ?/193		rem	divide
= 47318.4715    ?/50.6		rem divide
= 935.88749    ?MOD 100		remainder of division
= 35    ?Escape			rem	exit.

*1_linecal
don.mcdonald.1_line.calculator, [1993]
<Return>
  6 +  3  <Ret>
 append: + - * / ^ E2, DIV1-MOD, PI,1234 ()... <Ret>?
    ?6+3		rem input expression or numeric etc.

= 9    ?E2                      rem = RESult ...  * 100.
= 900    ?^3.3                  rem raise to a power
= 5.61048339E9    ?^(1/2)       rem square root
= 74903.1601    ?DIV1           rem truncate to integer
= 74903    ?MOD155              remainder of division
= 38    ?/PI                    rem divide by pie
--
don
dsmcdona@actrix.gen.nz


Date: Wed, 22 Jul 98 21:09:00 +1200
From: JIM OLIVER <jim.oliver@nzpca.org.nz>
Subject: Re: wtd.qbasic 1-line cal

On  07-22-98 DON  wrote To: JIM OLIVER

DO>Thanks very much Jim (Ralph).
DO>Thats the sort of thing I am after.

Thats good. I use it quite a bit.

DO>Jim,  do you know nzpca new zealand personal computer assn?

DO>Can somebody please send me info about mtgs membership?

You can ring (Enrollments) on 384 5533 or surf to
http://www.nzpca.org.nz. That should get you started.

Jim Oliver <jim.oliver@nzpca.org.nz> (3:771/1680)



Date: Wed, 22 Jul 1998 10:28:09 +1200 (NZST)
From: "don <dsmcdona.ld@see.sig.below>" <dsmcdona@actrix.gen.nz>
To: JIM OLIVER <jim.oliver@nzpca.org.nz>
Cc: pannett@actrix.gen.nz
Subject: Re: wtd.qbasic 1-line calcula

Thanks very much Jim (Ralph).
Thats the sort of thing I am after.
Ideally
4*7
= 28    +2
=30     /5
= 6     ^2
=36     -6
= 30    ^.5
= 5.5   DIV 1
=5      *100
=500    -2
= 498   mod 100
=98     quit
add on 1-line calculator..
= 98    E3
= 98000 *sin30
= 49000 *.2
= 9800  +1
= 9801  ^-1
=.000102030405?

Jim,  do you know nzpca new zealand personal computer assn?

Can somebody please send me info about mtgs membership?
please
thankyou tia
/ don.

-- 
don s mcdonald  | loto adviser + maths | results / 640 pers'lised nos.
 wellington2, new zealand | +64 4  389 6820.
hiNT   R.eply-to:   dsmcdona<AT>actrix.gen.nz   (replace <AT> by @ )
formerly   don.mcdonald@welcom.gen.nz         n.b. suppress ".ld".    

On Tue, 21 Jul 1998, JIM OLIVER wrote:

> DO>Subject: wtd.qbasic 1-line calculator prog. (fwd)
> 
> Is this what you wanted ? I use this all the time for simple stuff, it
> works a treat.
> 
> The following is a one line batch file called CALC.BAT
> 
> ECHO ? CHR$(61); %1 %2 %3 %4 %5 %6 %7 %8 %9 : SYSTEM | GWBASIC | FIND "="
> 
> To use it type :
> 
> CALC 4*7  <enter>
> 
> =21
> 
> It works !
> 
> (of course you have to have a file called GWBASIC.EXE in your path)
> 
> Jim Oliver <jim.oliver@nzpca.org.nz> (3:771/1680)


Date: Thu, 23 Jul 1998 16:23:47 +1200 (NZST)
From: "don <dsmcdona.ld@see.sig.below>" <dsmcdona@actrix.gen.nz>
To: JIM OLIVER <jim.oliver@nzpca.org.nz>
Subject: Re: wtd.qbasic 1-line cal

greeting Jim,

On Wed, 22 Jul 1998, JIM OLIVER wrote:

> On  07-22-98 DON  wrote To: JIM OLIVER
>
> DO>Thanks very much Jim (Ralph).
> DO>Thats the sort of thing I am after.
> 
> Thats good. I use it quite a bit.

Well, on my present machine I can do
*basic
PRINT 4*7

but my 1-line calc lets me do /add on/ whatever step I choose next.
later, I will repeat my bbc prog.

I also adapted it to 40 stat and number theory functions
divisors
continued fractions (convergents)
next prime
sum of squares
powers and roots
perms and combins.
logs exps.
poisson distribution.
recall 1000 memories
disp commas
spool and print out.
order of group ??
fractional part
highest common factor
options help
square root

I think it will be a long time before qbasic has
a calc as good as mine?
:)

> DO>Jim,  do you know nzpca new zealand personal computer assn?
> 
> DO>Can somebody please send me info about mtgs membership?
> 
> You can ring (Enrollments) on 384 5533 or surf to
> http://www.nzpca.org.nz. That should get you started.

thanks for info Jim,
I rang that no. but they didn't get back to
me.  So I have to wait until AUG 19 for next mtg at Kilbirnie.

> Jim Oliver <jim.oliver@nzpca.org.nz> (3:771/1680)
>
regards  /  don.


Section 8: Compatibility with other Machines. 
8.1) How compatible with other systems is an Acorn machine? 
8.2) Is there a BBC BASIC for other machines? 
8.3) Can I run 65Host on the Risc PC? 
8.4) Can I read Acorn format discs on a PC? 
8.5) What software handles files with this extension? 
8.6) Is there a version of Draw for Windows? 
Section 9: Technical Details. 
9.1) How do I get a faster interrupt timer than the centisecond ones? 
9.2) How can I create Interlaced GIFs on Acorn machines? 
Section 10: Risc PC PC Card Details. 
10.1) What is the latest version of the Emulator software? 
10.2) Why does the serial port not work after using the card? 
10.3) Why do Windows programs give incorrect colours in a 256 colour mode? 
10.4) How much memory can I configure for the PCEmulator? 
