Post Reply 
BASIC Programs on HP 50G
03-26-2014, 02:59 PM
Post: #44
RE: BASIC Programs on HP 50G
(03-23-2014 01:08 AM)churichuro Wrote:  UBASIC now has the IF-THEN-ENDIF command and IF-THEN-ELSE-ENDIF command implemented for several lines of code, also corrected several BUGS.

the next step is to provide the interpetre a real string handling

executable size remains the same.

keep you informed of the progress in these small development UBASIC

new example of an Ubasic program:

Code:

Rem Quadratic Equation (Uses Square Root Function)

Print "Ax^2 + Bx + C = 0"
Input "A =",A
Input "B =",B
Input "C =",C

D= b*b-4*a*c
If D>0 Then
  Ds= Sqr(D)
  Print "Real Roots:",(-B-Ds)/(2*A),(-B+Ds)/(2*A)
Else
  If D=0 Then
     Print "Duplicate Root:",(-B)/(2*A)
  Else
     Ds= sqr(-D)
     Print "Complex Conjugate Roots:",(-B/(2*A));"+/-";Ds/(2*A);"i"
  EndIf
EndIf

Churichuro,
I want to thank you for sharing your project with us. I have been semi-interested in purchasing a 50G. I think that your uBasic may be just the application that gets me to "pull the trigger" on buying one.

Thanks again.
Shawn
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
BASIC Programs on HP 50G - Alvaro - 03-06-2014, 12:33 PM
RE: BASIC Programs on HP 50G - Namir - 03-08-2014, 11:59 PM
RE: BASIC Programs on HP 50G - RMollov - 03-09-2014, 04:17 AM
RE: BASIC Programs on HP 50G - RMollov - 03-09-2014, 04:04 AM
RE: BASIC Programs on HP 50G - HP67 - 03-09-2014, 10:31 AM
RE: BASIC Programs on HP 50G - r. pienne - 03-09-2014, 11:33 AM
RE: BASIC Programs on HP 50G - HP67 - 03-09-2014, 11:40 AM
RE: BASIC Programs on HP 50G - r. pienne - 03-09-2014, 11:57 AM
RE: BASIC Programs on HP 50G - HP67 - 03-09-2014, 12:59 PM
RE: BASIC Programs on HP 50G - r. pienne - 03-09-2014, 01:09 PM
RE: BASIC Programs on HP 50G - HP67 - 03-09-2014, 01:19 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-09-2014, 11:43 AM
RE: BASIC Programs on HP 50G - HP67 - 03-09-2014, 11:45 AM
RE: BASIC Programs on HP 50G - Wes Loewer - 03-26-2014, 06:00 PM
RE: BASIC Programs on HP 50G - HP67 - 03-26-2014, 06:13 PM
RE: BASIC Programs on HP 50G - Wes Loewer - 03-26-2014, 07:54 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-26-2014, 07:56 PM
RE: BASIC Programs on HP 50G - Namir - 03-09-2014, 01:59 PM
RE: BASIC Programs on HP 50G - HP67 - 03-09-2014, 03:00 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-09-2014, 07:02 PM
RE: BASIC Programs on HP 50G - HP67 - 03-10-2014, 07:35 AM
RE: BASIC Programs on HP 50G - churichuro - 03-09-2014, 07:20 PM
RE: BASIC Programs on HP 50G - Joe Horn - 03-11-2014, 04:18 AM
RE: BASIC Programs on HP 50G - churichuro - 03-11-2014, 03:17 PM
RE: BASIC Programs on HP 50G - Howard Owen - 03-19-2014, 06:16 PM
RE: BASIC Programs on HP 50G - RMollov - 03-20-2014, 07:57 AM
RE: BASIC Programs on HP 50G - Alvaro - 04-20-2014, 12:39 PM
RE: BASIC Programs on HP 50G - churichuro - 04-21-2014, 01:02 AM
RE: BASIC Programs on HP 50G - Alvaro - 04-21-2014, 09:39 AM
RE: BASIC Programs on HP 50G - churichuro - 04-21-2014, 09:27 PM
RE: BASIC Programs on HP 50G - churichuro - 03-11-2014, 03:20 PM
RE: BASIC Programs on HP 50G - churichuro - 03-11-2014, 03:29 PM
RE: BASIC Programs on HP 50G - churichuro - 03-11-2014, 03:46 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-12-2014, 10:00 PM
RE: BASIC Programs on HP 50G - churichuro - 03-13-2014, 08:07 PM
RE: BASIC Programs on HP 50G - churichuro - 03-14-2014, 02:28 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-14-2014, 12:08 PM
RE: BASIC Programs on HP 50G - dizzy - 03-14-2014, 01:44 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-15-2014, 07:23 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-16-2014, 02:45 PM
RE: BASIC Programs on HP 50G - churichuro - 03-14-2014, 02:46 PM
RE: BASIC Programs on HP 50G - dfnr2 - 03-19-2014, 03:55 PM
RE: BASIC Programs on HP 50G - churichuro - 03-23-2014, 01:08 AM
RE: BASIC Programs on HP 50G - Alvaro - 03-23-2014, 09:18 PM
RE: BASIC Programs on HP 50G - Shawn Gibson - 03-26-2014 02:59 PM
RE: BASIC Programs on HP 50G - HP67 - 03-26-2014, 08:09 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-26-2014, 08:46 PM
RE: BASIC Programs on HP 50G - RMollov - 03-27-2014, 03:54 AM
RE: BASIC Programs on HP 50G - Alvaro - 03-27-2014, 08:05 AM
RE: BASIC Programs on HP 50G - RMollov - 03-27-2014, 09:02 AM
RE: BASIC Programs on HP 50G - Han - 03-27-2014, 09:29 PM
RE: BASIC Programs on HP 50G - Wes Loewer - 03-27-2014, 03:41 PM
RE: BASIC Programs on HP 50G - Alvaro - 03-27-2014, 06:24 PM
RE: BASIC Programs on HP 50G - RMollov - 03-28-2014, 02:43 AM
RE: BASIC Programs on HP 50G - Howard Owen - 03-29-2014, 03:32 AM



User(s) browsing this thread: 25 Guest(s)