Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!GANDALF.LL.MIT.EDU!yasu From: yasu@GANDALF.LL.MIT.EDU (Alan Yasutovich) Newsgroups: comp.sys.handhelds Subject: (none) Message-ID: <9003081508.AA03715@GANDALF.LL.MIT.EDU> Date: 8 Mar 90 15:08:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 98 >From: yasu@GANDALF.LL.MIT.EDU (Alan Yasutovich) >Newsgroups: comp.sys.handhelds >Date: 7 Mar 90 20:39:07 GMT > > Guess what! Never run a program that uses variables that you > forgot to define! > /.......BYE BYE!!!!!!!!!!! >#define FLAME_MODE 1 >Very informative, would you say? I think it would have been better to >post an article with some ``real'' example and what happened when it >was run, in which environment, with which model etc... >The above article has almost no information content, and is as such >about useless. I think you should post more information about whatever >you found out. >Not everybody wants to try everything out him/herself and not everyone >(yet?) has the thing to try it on, but some real information would be >welcomed by many. >#undef FLAME_MODE >argh//haa -- >Hannu Aronsson >Dept. of Computer Science, CS lab, >Helsinki University of Technology, Finland I am duely repremanded for my "nonspecificity". I thought that the statement was generally specific, yet uninteresting. That was the reason I did not include more detail. At the time I posted it I was basically PISSED. When I ran the aforementioned program for testing purposes I had not "created" any of the variables in the program. The little "(')" symbol came up and never went away. I hit the "on" button to interrupt, as well as any other button I could find, but I could not stop whatever was going on from happening. The conclusion was a decision to take out the batteries and start over again. I suppose such a fatal error WOULD be of general interest. It was the first time in over a year that I had had ANY problem. I was just a little lucky. It turns out that I had about 20K mem left. (I have been as low as 8K). I always write my programs on this SUN, and update/correct on this machine before I enter/change a program via a printout. So, 1) I always have hard copies of any program I care about and 2) I had accidentally been at a point where I was ready to revamp most of what I had done. One such revamp had to do with making my programs more modular, using subroutine calls in main programs instead of utilizing "in line" repetitive code. Outside of obvious advantages, this method saves time in RCL/EDIT/ENTER sequences because I am not RCL'ing an enormous program all the time. Normally a program starts/proceeds with creating its variables in some manner. It was the fact that it was a subroutine that caught me. Just for laughs, the program was ATOP DUP TEMP + 'ATOP' STO 'ATOP1' STO WHILE ATOP ATOP1 > REPEAT AREC ATOP1 GET 2 / DUP FLOOR AREC ATOP ROT PUT ATOP 1 - 'ATOP' STO ATOP1 1 - 'ATOP1' STO SWAP CEIL ATOP SWAP PUT 'AREC' STO ATOP 1 - 'ATOP' STO END (WHILE) "ATOP" and "AREC" were not defined. Who knows what happened? The HP28s flew south into "non-interruptable mode". *************************************************************************** The principal reason that I bought the 28S was to use as a test/development tool for gambling systems, as well as to take with me to casinos and actually use to tell me what to do, and when to do it. The casinos don't care; I've gone and used it before. I have been working (without computer aid) for almost 10 years on a reliable and profitable gambling system. Using the calculator, I can run tens of thousands of random combinations of numbers. (money management is the key) I have also taken several trips to casinos and not spent a penny, just to study. My goal is to succeed (and retire), not to play (I feel that when this work is done I will be complete). I also have exchanged information with some very knowledgable people from around the world on the subject. If there is anyone interested in the field, or smarter than I, feel free to correspond. Alan