I added fully customizable keyboard / single character graffiti support in
CVS. So you can do such things as bind m to pop up the menu, down to
go to the next link (this one is a default setting), etc. The keyboard
map is stored in a PlkrKeyboardMap database, so one can beam it between
units,
What is proper style for an if() with a long condition? I think I have
seen more than one option in the code.
Here are some possibilities:
if( condition1
condition2 ) {
ConditionSuccessful();
}
This has the disadvantage that ConditionSuccessful() is ligned up with
Some of you may recall a bug report emailed here about an NX70 crashing
when deleting a document in RAM and opening another. This problem
occurred with Adam's release but not with the current CVS code.
Moreover, the reporter checked further and the problem only occurred when
he had a CF card
---Reply to mail from Alexander R. Pruss about stylistic question
What is proper style for an if() with a long condition? I think I have
seen more than one option in the code.
Given the choice, I'd rather see:
if ( shortcondition1 shortcondition2 ) {
DoThis()
}
and
On Sat, Jul 05, 2003, Chris Hawks wrote:
if ( areallycondition
shortcondition ) {
DoThis()
}
Nope, the '' should be at the end of the first line to make it
obvious that the statement on the first line is only part
On Sat, Jul 05, 2003, Alexander R. Pruss wrote:
if( condition1
condition2 ) {
ConditionSuccessful();
}
Wrong. There should be a space between if and '('.
This has the disadvantage that ConditionSuccessful() is ligned up with
condition2
Not if you follow the (at the
On Sat, Jul 05, 2003, Alexander R. Pruss wrote:
p.s. I've noticed that a bunch of things in util.c don't conform to the
coding guidelines. But who am I to speak?
Exactly, don't speak; fix it instead ;-)
/Mike
___
plucker-dev mailing list
[EMAIL
I've been looking at the library jogdial code, and noticed that a function
uses UInt8 to store the row. Now, I haven't figured out quite how the
code works, but is there a 255 document limit, or is this just an offset
within the page?
Alex
--
Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED]
What I could consider, though, is to put the '{'
on a line of its own, i.e.
if ( areallycondition.
shortcondition )
{
DoThis();
}
This looks like a nice and clear way of doing it.
I must say that the at the end of the line
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Nordstrom
Sent: Saturday, July 05, 2003 3:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Plucker 1.41 beta oddities
On Sat, Jul 05, 2003, Dennis McCunney wrote:
Do you see Plucker 1.41 handling
---Reply to mail from Alexander R. Pruss about stylistic question
I must say that the at the end of the line looks a little funny to me
because we mathematicians put the operator at the beginning of the next
line when continuing equations in print.
Exactly.
---End reply
Christopher R.
11 matches
Mail list logo