Debug print symbol...uhm...
Mukhsein Johari <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Mark,
Do we really need this? I have soem doubts. I mean,
normally, when you put debug prints you also add some
debug labels - in which case, you'll want to use
print() anyway. Otherwise, in your console you'll just
get a stream of var values without an indication of
what they mean.
eg.
instead of:
x = f( 5 + 32 * @Z(abc[23])) -> print Z(abc[23])
you'd do:
print("Before f(), Z(abc[23]) is %s".fmt(Z(abc[23])))
x = f( 5 + 32 * Z(abc[23]))
I guess all these extra symbols and keywords are
triggering in me "unpleasant perl-ish" feelings.
Please lets limit the number of keywords and key
symbols. Prothon does not need a perlesque "periodic
table of keywords and symbols". There's always perl if
you want it. :-P
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html