Hello,
{
Filter f = ((((((((isNull(attribute("_NC+ Req")) || isNull(attribute("_NC Req"))) || isNull(attribute("_Level 2 Req"))) || isNull(attribute("_Criticality"))) || isNull(attribute("_1E Req"))) || isNull(attribute("_Req Type"))) && (attribute "_Req Eval" == "R - Requirement")) || ((((((notNull(attribute("_Req Type")) || notNull(attribute("_NC+ Req"))) || notNull(attribute("_NC Req"))) || notNull(attribute("_Criticality"))) || notNull(attribute("_Level 2 Req"))) || notNull(attribute("_1E Req"))) && isNull(attribute("_Req Eval")))) || ((((((notNull(attribute("_Req Type")) || notNull(attribute("_NC+ Req"))) || notNull(attribute("_NC Req"))) || notNull(attribute("_Criticality"))) || notNull(attribute("_Level 2 Req"))) || notNull(attribute("_1E Req"))) && (attribute "_Req Eval" != "R - Requirement"))) || (isNull(attribute("_Req Type")) && (attribute "_Req Eval" == "R - Requirement"))
set(CurrentModule, f, accepted, rejected)
Total = accepted + rejected
buf += accepted "," rejected "," Total ""
}
SystemAdmin - Tue Oct 11 23:49:30 EDT 2011 |
Re: code: continuation of a line
Hi,
Pierre |
Re: code: continuation of a line
As stated, the interpreter knows there must be continuation when the end of a line is an operand
if (A or
(B and C) or
D) Go do something.
ProcessPlants( NameTree,
NameFlower,
NameMoss, // this comment must end in a dash -
NameBee)
string MyFullName =
"Alphonso" // Maternal Grandfather -
" Englebert" // Paternal Grandmother -
" Poindexter" //
" Failure" //
" This line not part of the name because the previous comment ended in a space, and therefore doesn't continue"
print MyFullName
|
Re: code: continuation of a line llandale - Wed Oct 12 15:27:05 EDT 2011
As stated, the interpreter knows there must be continuation when the end of a line is an operand
if (A or
(B and C) or
D) Go do something.
ProcessPlants( NameTree,
NameFlower,
NameMoss, // this comment must end in a dash -
NameBee)
string MyFullName =
"Alphonso" // Maternal Grandfather -
" Englebert" // Paternal Grandmother -
" Poindexter" //
" Failure" //
" This line not part of the name because the previous comment ended in a space, and therefore doesn't continue"
print MyFullName
Some time ago had problem with "//-" continuation and did not find the problem until I switched on the function to show spaces, tabs etc. as characters in my editor. There was a space after "//-", "//- " did not work. |
Re: code: continuation of a line SystemAdmin - Thu Oct 13 09:45:29 EDT 2011
OK, who is going to Wiki to find out how old "Word 2.0" is and then figure out how old I must be... Don't bother, I almost flunked a final because I dropped my program without having barber-pole coded the edges of it; for those of you who understand that reference. |