Page 2 of 2

Posted: Thu Oct 09, 2008 11:08 am
by IceSoft
[quote="traumatic]...and what about the "less typing" argument when you're OK with writing
more comments that way? ;)[/quote]
/OFF TOPIC
I write one comment line behind the declaration of the variable...long variable names have to write allways I use it.
And the source code will not be easier read if the lines are longer as your sreen is.

Posted: Thu Oct 09, 2008 1:00 pm
by Kaeru Gaman
what about an IDE-plugin that automatically creates all Declares of all Procedures (and Prototypes?) of the current source by just one click?


as I already said, I always use copy/paste if I use any declares.
not the merest idea of crossing my mind that you could write different args in the declare.
and concerting less typing:
a descriptive comment-header for a Procedure contains fife to twenty lines,
with the name, short explanation, description of the arguments and return value.
if you put that header to the declaration, different argnames than in the procedure would be counterproductive.

Posted: Thu Oct 09, 2008 9:57 pm
by charvista
I was wondering if RunProgram() with the flag #PB_Program_Wait can be used exactly like an external Procedure(), bringing all the variables, and currently open files? This can be very useful.