Two things for this thread...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Two things for this thread...

Post by Psychophanta »

-First petition:
For the PureBasic Debugger in STEP MODE; the current line is too much up in window and can't be watched easely the code above. Could be this line to be just vertically in the middle of window?

-Second one:
When coding outside functions, in a large program, when for example we do p.l=5 we are reserving 4 bytes in the PC memory for that variable until program ends, even we just use that variable for a punctual calculation and never again. Should be useful (aha! and possible!) a command to liberate that mem? For example Flush p.l,f,rt$ or Free p.l,f,rt$ :?:
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Re: Two things for this thread...

Post by tinman »

Psychophanta wrote:-First petition:
For the PureBasic Debugger in STEP MODE; the current line is too much up in window and can't be watched easely the code above. Could be this line to be just vertically in the middle of window?
Or better, have the debugger window scrollable so that you can view any source line, and just have some mark showing where the current line is.
-Second one:
When coding outside functions, in a large program, when for example we do p.l=5 we are reserving 4 bytes in the PC memory for that variable until program ends, even we just use that variable for a punctual calculation and never again. Should be useful (aha! and possible!) a command to liberate that mem? For example Flush p.l,f,rt$ or Free p.l,f,rt$ :?:
Could be useful, but could you just use a procedure for carrying out the calculation? Perhaps inline procedures would be more useful for this if Fred has those planned?
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Tinman wrote
Or better, have the debugger window scrollable so that you can view any source line, and just have some mark showing where the current line is
The debugger window is actually scrollable, and has marked current line, but when you push step button that line goes up, because by default it is placed at 4th. line.
Perhaps inline procedures would be more useful for this if Fred has those planned?
Yes, inline procedures should be still better. :idea:
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

First one has been made. That's great :)
What about second? And/or this one: viewtopic.php?t=15874
:roll:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply