[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

2030.0. "Problem with Basic" by NLCFLS::ELLISM () Wed Dec 21 1988 08:36

    I'm writing a program in Amiga BASIC (don't laugh), and am hitting
    some problems. I hope someone may be able to help.
    
    I have to clear extra space for the program, because it is getting
    rather large.
    
    When I run the program first, it complains that a certain sub program,
    that I call, doesn't exist - but it does. So, I run it again and
    it works! However, if I run it again, When it tries to open it's
    4th window it complains that it is out of stack space.
    
    Any ideas anyone?
    
    Martin
T.RTitleUserPersonal
Name
DateLines
2030.1SAUTER::SAUTERJohn SauterWed Dec 21 1988 10:393
    The best advice I can give is not to program in Amiga Basic.
    Consider C.
        John Sauter
2030.2MTWAIN::MACDONALDWA1OMM 7.093/145.05/223.58 AX.25Wed Dec 21 1988 17:034
    The default stack is 25,000 I believe. Just increase it at the
    beginning of the program. Amiga BASIC programs compiled with the
    Absoft compiler run pretty darn fast. The ORBITS program in
    pauly"amiga":: was programmed in Basic and then compiled.
2030.3Use the CLEAR command.STC::HEFFELFINGERThu Dec 22 1988 02:521
    
2030.4I can't...and I have!HARDLY::ELLISMThu Dec 22 1988 09:0116
    .1
    
    I'm considering C for the future, but I'm writing this program for
    a friend - and he wants it like yesterday and I can't use C (Getting
    my manager to send me on a training course!)
    
    .2 and .3
    
    I did say that I had tried CLEAR, maybe I just need to increase
    that but surely that doesn't cause the program not to find the sub
    program?
    
    Thanks for trying to help anyway
    
    Martin