In message <0748dbb251...@hobbes.bass-software.com> John Tytgat <john.tyt...@aaug.net> wrote:
> In message <snt136-ds8cabe46042f91ccca13a2f0...@phx.gbl> > "Alan Buckley" <alan_...@hotmail.com> wrote: > > > Thanks John my initial testing shows this worked on RISC OS 4, > > Iâll try RISC OS 5 over the next few days, but I expect it to work. > > > > The one thing is that you have to use SetEval not Set. If you use > > Set it doesnât work. > > > > I had tried to change the heap max, but I was probably using > > Set or perhaps the wrong program (gcc or g++) with the > > HeapMax variable. > > That's very wierd that SetEval would work but not Set for setting HeapMax. > > John. I dont know the details of HeapMax, but it would depend on what is reading the value back. Eval appears to convert the string value back to a number. Set num 22 Eval num*22 Result is an integer, value : 44 So Set is giving num the string "22" But SetEval num 22 would store the actual number 22. Ron M. _______________________________________________ GCCSDK mailing list gcc@gccsdk.riscos.info Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK