Hi guys:
I have a simple question. I understand one % means comment, but today by mistake I typed %% and it seems it is not comment any more.
Is there any special meaning of %%?
Thanks
Yi
|
|
0
|
|
|
|
Reply
|
Yi
|
9/11/2010 10:06:04 PM |
|
If it's like a comment, then it means that is the start of a "cell"
which is a block of statements that gets executed as a whole. For
example, it will execute 10 statements instead of one when you do a
"step" - it goes until the next %%.
And if it's inside a quoted string, it means to print out or display a
percent symbol. Otherwise (a single one) it's part of the format
descriptor (like %d, %.3f, %s, etc) so how would you ever be able to
get a single %?
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
9/11/2010 10:17:41 PM
|
|