Page 1 of 1

[Implemented] #PB_Compiler_Procedure

Posted: Fri Oct 19, 2007 3:55 pm
by Motu
#PB_Compiler_Line is realy nice for debugging purpose.
Also it would be very nice to have the constant

#PB_Compiler_Procedure

that will be replaced by the procedures name currently running for standart error functions like this one:

Procedure ErrorMsg(Function.s,ErrorString.s,Line.l)
MessageRequester("Error in " + Function,ErrorString + " Line:" + Str(Line),0)
End
EndProcedure

:)

Posted: Fri Oct 19, 2007 6:43 pm
by Fred
It is already working on the beta, but not documented (was planned for 4.20).

Posted: Fri Oct 19, 2007 6:48 pm
by srod
Very nice. :)

Posted: Fri Oct 19, 2007 7:09 pm
by #NULL
yes, good to know.

Posted: Fri Oct 19, 2007 7:11 pm
by AND51
Nice!
Are there more undocumented constants?

I'm curious: Why do you implement this nice feature, but don't document it? Are these constants still experimental?

Posted: Fri Oct 19, 2007 10:18 pm
by Fred
We have to stop somewhere to release a freezed version, but sometimes it's easier to implement new features in a row, so we keep them hidden.

Posted: Fri Oct 19, 2007 10:40 pm
by AND51
Ah, okay Fred. I understand.
I just want to give you the advice, not to forget to document hidden features (remember the undocumented 'Channel'-parameter in SoundFrequency()).