Re: yabasic problem

2018-08-20 Thread Richard Owlett
I'll not pursue strace further at this time. As to programming language, I have the choice of either BASIC or Tcl. I've not used BASIC in years. I'm learning Tcl using tcltutor30b7. I've verified my program logic with yabasic. Tcltutor gives handy diagnostics. I'm translating my code to Tcl. It

Re: yabasic problem

2018-08-20 Thread Thomas Schmitt
Hi, Richard Owlett wrote: > With a good filename, nothing printed. > With a bad filename, it reports file not found. But it does not abort at that point, does it ? When the file name is bad, is the resulting filenumber 0 ? If not: Can you read or write to that filenumber ? I cling so massively

Re: yabasic problem

2018-08-20 Thread Thomas Schmitt
Hi, Note: this mail is purely nostalgic and not about yaboot. David Wright wrote: > [HP 9845B] If they had a weak point, it was those little tape drives I once had a hidden line removal program reading a 3D model from one tape and writing the intermediate result to the other. Then i had to

Re: yabasic problem

2018-08-20 Thread Richard Owlett
On 08/20/2018 08:49 AM, Thomas Schmitt wrote: Hi, Greg Wooledge wrote: But if BASIC is working for someone out there, then hey, great. Sure. I am still wondering what will be the final solution to Richard's riddle. (The typo theory seems to have died now. Remains the sticky error theory.)

Re: yabasic problem

2018-08-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 20, 2018 at 06:55:19AM -0500, Richard Owlett wrote: [...] > However if you do: > > strace -o mytrace yabasic test.bas > it executes, but doesn't apparently doesn't give any explanation ow > why the two files cannot be opened. Hm.

[OT] Re: yabasic problem

2018-08-20 Thread David Wright
On Mon 20 Aug 2018 at 09:35:35 (+0200), Thomas Schmitt wrote: > Hi, > > i wrote: > > > (Found the booklet. It's HP BASIC 3.0, not 2.0. Newest techology of 1985.) > > David Wright wrote: > > I thought we were up to version 4.0¹ by 1985, > > Indeed, the booklet says "June 1984 ... First Edition".

Re: yabasic problem

2018-08-20 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > But if BASIC is working for someone out there, then hey, great. Sure. I am still wondering what will be the final solution to Richard's riddle. (The typo theory seems to have died now. Remains the sticky error theory.) Have a nice day :) Thomas

Re: yabasic problem

2018-08-20 Thread Richard Owlett
On 08/20/2018 07:29 AM, Mark Fletcher wrote: Isn’t the problem that you misspelled “experimental” in your original file paths? No I had misspelled it when creating the directory. And, being a lousy typist, I copy-n-past whenever possible. I had used Caja's Properties menu to get the path. But

Re: yabasic problem

2018-08-20 Thread Greg Wooledge
On Mon, Aug 20, 2018 at 03:26:20PM +0200, Thomas Schmitt wrote: > Nevertheless, between C and shell there is few room for BASIC. > C for what is complicated and must run fast. > shell for what is rather simple and must be programmed fast. In between C and shell, you've got a huge number of

Re: yabasic problem

2018-08-20 Thread Thomas Schmitt
Hi, i wrote: > > why use such a C-BASIC when there is gcc, gdb and valgrind ? > 'Cause the last time I used C was about 4 *DECADES* ago ;} This way you missed the everlasting joy of hunting bugs which trigger SIGSEGV at some arbitrary point of program execution. valgrind widely industrialized

Re: yabasic problem

2018-08-20 Thread Mark Fletcher
Isn’t the problem that you misspelled “experimental” in your original file paths? Mark On Mon, Aug 20, 2018 at 21:13 Richard Owlett wrote: > On 08/20/2018 02:35 AM, Thomas Schmitt wrote: > > David Wright wrote: > > [snip] > >> Would you agree, though, that "BASIC" is the language that must >

Re: yabasic problem

2018-08-20 Thread Richard Owlett
On 08/20/2018 02:35 AM, Thomas Schmitt wrote: David Wright wrote: [snip] Would you agree, though, that "BASIC" is the language that must have the biggest contrast between its well-endowed versions and the most dire cr*p. Well, back then i perceived HP BASIC as the best language of all. It

Re: yabasic problem

2018-08-20 Thread Richard Owlett
On 08/19/2018 08:50 AM, Richard Owlett wrote: On 08/19/2018 08:36 AM, to...@tuxteam.de wrote: [snip    - try running your program under strace: there you'll see which system calls are being issued, and perhaps gain some insight on where this "No such file..." (ENOENT) really happens

Re: yabasic problem

2018-08-20 Thread Jim Popovitch
On August 20, 2018 7:35:35 AM UTC, Thomas Schmitt wrote: >Hi, > >i wrote: >> > (Found the booklet. It's HP BASIC 3.0, not 2.0. Newest techology of >1985.) > >David Wright wrote: >> I thought we were up to version 4.0¹ by 1985, > >Indeed, the booklet says "June 1984 ... First Edition". > >I

Re: yabasic problem

2018-08-20 Thread Thomas Schmitt
Hi, i wrote: > > (Found the booklet. It's HP BASIC 3.0, not 2.0. Newest techology of 1985.) David Wright wrote: > I thought we were up to version 4.0¹ by 1985, Indeed, the booklet says "June 1984 ... First Edition". I think i did not get to BASIC 4.0 because in 1986 i wrote a BASIC program

Re: yabasic problem

2018-08-19 Thread David Wright
On Sun 19 Aug 2018 at 17:03:26 (+0200), Thomas Schmitt wrote: > Hi, > > Curt wrote: > > I ain't no programmer, but sure is butt ugly. > > Yeah. This Yet-Another-BASIC lacks the ON ERROR GOTO gesture. > (Found the booklet. It's HP BASIC 3.0, not 2.0. Newest techology of 1985.) I thought we were

Re: yabasic problem

2018-08-19 Thread Thomas Schmitt
Hi, Curt wrote: > I ain't no programmer, but sure is butt ugly. Yeah. This Yet-Another-BASIC lacks the ON ERROR GOTO gesture. (Found the booklet. It's HP BASIC 3.0, not 2.0. Newest techology of 1985.) Have a nice day :) Thomas

Re: yabasic problem

2018-08-19 Thread Curt
On 2018-08-19, Richard Owlett wrote: >> >> I tried to look up their online documentation, but it's one of >> those stupid javascript-only sites, and I tend to avoid that. >> Attention economy? I can play that: they won't get mine. > > So somebody agrees with me. > A well done HTML manual is in

Re: yabasic problem

2018-08-19 Thread Richard Owlett
On 08/19/2018 08:36 AM, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 19, 2018 at 08:00:31AM -0500, Richard Owlett wrote: I've installed yabasic from the repository. I invoked as:> richard@debian-jan13:~$ richard@debian-jan13:~$ yabasic This is yabasic

Re: yabasic problem

2018-08-19 Thread Thomas Schmitt
Hi, i still have a HP BASIC 2.0 Quick Reference somewhere ... Richar Owlett wrote: > fd_in=open("/home/richard/Documents/cherrytree/edit_bookmarks/expermental_copies/prettytest0txt","r") > print peek$("error") Although the open() call does not really look like BASIC, it is authorized by

Re: yabasic problem

2018-08-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 19, 2018 at 08:00:31AM -0500, Richard Owlett wrote: > I've installed yabasic from the repository. > > I invoked as:> richard@debian-jan13:~$ > >richard@debian-jan13:~$ yabasic > > > >This is yabasic version 2.78.0, > >built on

yabasic problem

2018-08-19 Thread Richard Owlett
I've installed yabasic from the repository. I invoked as:> richard@debian-jan13:~$ richard@debian-jan13:~$ yabasic This is yabasic version 2.78.0, built on i686-pc-linux-gnu at Mon Jan 23 14:17:02 UTC 2017 My code fragment is: infile$ =