Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.misc > #296

Re: Which basic ?

From ralph <nt_consulting64@yahoo.com>
Newsgroups comp.lang.basic.misc
Subject Re: Which basic ?
Date 2012-08-08 08:50 -0500
Organization Aioe.org NNTP Server
Message-ID <0tp4281lknd650lj4e3oca0mag0g3f65jp@4ax.com> (permalink)
References <jvsto9$gt9$1@speranza.aioe.org> <p3k428t5phlbasl063id5clcet2758d6s1@4ax.com> <jvtoa8$cjc$1@speranza.aioe.org>

Show all headers | View raw


On Wed, 8 Aug 2012 13:07:20 +0000 (UTC), "himself" <some@where.com>
wrote:


>
>
>It is an RSGB publication, Amateur Radio Software, he does mention that
>it will be generic Basic that may need adapting.
>I have adapted the code in qbasic and have a result as such using
>online calculators.
>It calculates distance and bearing.
>Will type out the original and post. Thanks for the feedback.
>Rog 

I have several old Astronomy cook books like that. All the code using
a "generic" BASIC which does seem to ever have actually existed
anywhere. <g>

In this case I suggest you simply adopt a BASIC you would like to use
and then convert/port the code. If you run across any particular
construct that is a problem, then post it here, and I'm sure one of
the extremely knowledgeable people will be able to provide a
conversion. But you need to pick a BASIC.

One thing I will mention, in case you are not aware, is that floating
point math and thus accuracy can vary dramatically, and is likely to
be your major problem. For example, an algorithm typed in BASIC and
then compared with a seemingly identical algorithm typed out on a
handheld calculator often produces surprises.

There are many excellent resources, but this seems to be the most
readable. <g> Worth a look if you are not aware of fp issues.
http://floating-point-gui.de/

-ralph

Back to comp.lang.basic.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Which basic ? "himself" <some@where.com> - 2012-08-08 05:34 +0000
  Re: Which basic ? "Auric__" <not.my.real@email.address> - 2012-08-08 10:10 +0000
    Re: Which basic ? Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-08-08 13:45 +0200
      Re: Which basic ? "Auric__" <not.my.real@email.address> - 2012-08-08 12:47 +0000
        Re: Which basic ? Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-08-09 22:48 +0200
    Re: Which basic ? "himself" <some@where.com> - 2012-08-08 13:56 +0000
      Re: Which basic ? "Auric__" <not.my.real@email.address> - 2012-08-08 20:28 +0000
  Re: Which basic ? ralph <nt_consulting64@yahoo.com> - 2012-08-08 06:43 -0500
    Re: Which basic ? "himself" <some@where.com> - 2012-08-08 13:07 +0000
      Re: Which basic ? ralph <nt_consulting64@yahoo.com> - 2012-08-08 08:50 -0500
      Re: Which basic ? Todd Vargo <tlvargo@sbcglobal.netz> - 2012-08-08 19:57 -0400
      Re: Which basic ? nospam <nospam@nospam.com> - 2012-08-09 20:36 +0100
        Re: Which basic ? "himself" <some@where.com> - 2012-08-09 23:49 +0000
          Re: Which basic ? "news@rtrussell.co.uk" <news@rtrussell.co.uk> - 2012-08-10 09:12 -0700
            Re: Which basic ? "Auric__" <not.my.real@email.address> - 2012-08-11 00:12 +0000
              Re: Which basic ? "news@rtrussell.co.uk" <news@rtrussell.co.uk> - 2012-08-12 04:48 -0700
                Re: Which basic ? "Auric__" <not.my.real@email.address> - 2012-08-12 20:07 +0000

csiph-web