зеркало из https://github.com/mozilla/pjs.git
48 строки
753 B
HTML
48 строки
753 B
HTML
<html>
|
|
<body>
|
|
use a XMP tag for C or JAVA source code.
|
|
<br> The lt and gt signes are problematic.
|
|
|
|
|
|
<XMP>
|
|
cc = 123;
|
|
// test lt
|
|
if( cc < hhh ) {
|
|
if(cc<xxx || as > gh) {
|
|
//do womthing here;
|
|
}
|
|
}
|
|
if( cc <= iii ) {
|
|
if(cc<=yyy) {
|
|
//do womthing here;
|
|
}
|
|
}
|
|
// test gt
|
|
if( cc > rrr ) {
|
|
if(cc>eee) {
|
|
//do womthing here;
|
|
}
|
|
}
|
|
if( cc >= www ) {
|
|
if(cc>=qqq) {
|
|
//do womthing here;
|
|
}
|
|
}
|
|
// what if the variable name is a valid tag name.
|
|
if( cc < B && cc > kk ) {
|
|
if(cc<B && cc > gg) {
|
|
//do womthing here;
|
|
}
|
|
}
|
|
cc = aa<<I;
|
|
cc = B>>3;
|
|
gt = true;
|
|
for(a=0,gt=true; (a>0)&> a++) {
|
|
}
|
|
a = 0x0004;
|
|
lt = 0x0002;
|
|
for(; a< ) {
|
|
}
|
|
</XMP>
|
|
</body>
|
|
</html> |