Program failure due to memory defects?
Posted: Tue Oct 03, 2017 8:38 am
Consider this as a tip to solve 'strange' problems, in particular to Dav and George.
During development of "MakeInstall" (viewtopic.php?f=20&t=2030) I had to spent a very long time to solve a 'run-time error'
At last I started to strip the program by commenting pieces between /* and */ until only a single call was left:
• 1 I got a run-time error on the single-line 'program':
CALL Archive(Tree$,OutDir$,Install$,Ext$)
That made no sense. It should have been a syntax-error or parameter-error or else, but certainly no run-time error.
I copied then the whole content to another file and got the program running.
I can only explain it as a memory-problem and that could also be the case with the following cases
• 2 Dav got a strange syntax error:
Re: Browser with download facilities, by Dav » 19 Sep 2017
… When starting Browser.sb, a Syntax error occurs in the ButtonPressed(reset) Function on this line: But.favorites=BUTTON_PRESSED("favorites")
…
• 3 George got a strange run-time problem:
Re: Tree.sb to list folder contents by GeorgeMcGinn » 27 Sep 2017 and by GeorgeMcGinn » 30 Sep 2017
… I'm betting it has to do with a filetype, not a missing file. That does not make sense.
…
During development of "MakeInstall" (viewtopic.php?f=20&t=2030) I had to spent a very long time to solve a 'run-time error'
At last I started to strip the program by commenting pieces between /* and */ until only a single call was left:
• 1 I got a run-time error on the single-line 'program':
CALL Archive(Tree$,OutDir$,Install$,Ext$)
That made no sense. It should have been a syntax-error or parameter-error or else, but certainly no run-time error.
I copied then the whole content to another file and got the program running.
I can only explain it as a memory-problem and that could also be the case with the following cases
• 2 Dav got a strange syntax error:
Re: Browser with download facilities, by Dav » 19 Sep 2017
… When starting Browser.sb, a Syntax error occurs in the ButtonPressed(reset) Function on this line: But.favorites=BUTTON_PRESSED("favorites")
…
• 3 George got a strange run-time problem:
Re: Tree.sb to list folder contents by GeorgeMcGinn » 27 Sep 2017 and by GeorgeMcGinn » 30 Sep 2017
… I'm betting it has to do with a filetype, not a missing file. That does not make sense.
…