From owner-freebsd-questions@FreeBSD.ORG Mon Jun 17 17:53:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E5AB1CAD for ; Mon, 17 Jun 2013 17:53:00 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id C29E0160D for ; Mon, 17 Jun 2013 17:53:00 +0000 (UTC) Received: from 66-189-39-69.dhcp.oxfr.ma.charter.com ([66.189.39.69] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Uodbn-000Idq-St; Mon, 17 Jun 2013 13:52:54 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id 85C9D20FEA5D; Mon, 17 Jun 2013 13:52:51 -0400 (EDT) Message-ID: <51BF4CF2.4060403@FreeBSD.org> Date: Mon, 17 Jun 2013 13:52:50 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Chris Maness References: In-Reply-To: X-Enigmail-Version: 1.5.1 X-SA-Exim-Connect-IP: 66.189.39.69 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP,URIBL_BLOCKED autolearn=no version=3.3.1 Subject: Re: Any BASIC Gurus around? Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 17:53:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/17/13 1:16 PM, Chris Maness wrote: > I am having trouble getting this old USNO basic program running in > bwBASIC. The error output is not clear to me where the problem is. > Here is the code, if someone wouldn't mind running it and > suggesting edits: > ...setting wayback machine to ca. 1979... Here is a patch to apply to your code that gets the program a little further: http://people.freebsd.org/~glarkin/diffs/prog.bas.diff There were some "O" characters that should have been "0" instead and at least a couple of Unicode characters that I removed. It prints out some results up to the moon illuminance, and then bwBasic core dumps, but maybe you'll be able to debug from there. Good luck, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG/TPIACgkQ0sRouByUApDxQwCggXDVspM4GF2dlI5EvlmUsvld qtYAn2NeBVSPHJ8p4nEYvN80bbXZGecr =Z9tY -----END PGP SIGNATURE-----