aspose file tools*
The moose likes Ranch Office and the fly likes How do I post code containing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "How do I post code containing "less than" sign..." Watch "How do I post code containing "less than" sign..." New topic
Author

How do I post code containing "less than" sign...

Jim Dong
Greenhorn

Joined: Jul 09, 2001
Posts: 12
Hi,
I am not able to put the real "less than" or "greater than" sign in the code segment I wanted to show in the message.
You may find the following code strange, but it is correctly written, but incorrectly shown!
for ( int i = 0; i < 10; i++) Sytstem.out.println(i);
If you have any clue, please help.
Thanks.
Jyotsna Clarkin
Ranch Hand

Joined: Jan 26, 2001
Posts: 158
code looks fine to me
Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
What forum are you trying to post in!!
The < and > signs may be being interpreted as part of a HTML tag in some forums .... one thing to try would be to surround your whole code segment in [ code ] [ /code ] tags (note I deliberatly added spaces between the brackets so you can see the tags).
If that doesn't work ... let us know!


Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Also, if you previously posted code like the above but without a space after the < symbol, then that usually sets the problem off.


"I'm not back." - Bill Harding, Twister
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
You should be able to use &lt; &gt; to get < and > respectively.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I post code containing "less than" sign...