Next: , Previous: String Type, Up: String Type   [Contents][Index]


2.3.8.1 ʸ»úÎó¤Î¹½Ê¸

ʸ»úÎó¤ÎÆþÎϹ½Ê¸¤Ï¡¢"like this"¤Î¤è¤¦¤Ë¡¢ ¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ç»Ï¤á¤Æ¡¢Ç¤°Õ¸Ä¤Îʸ»ú¤ò½ñ¤­¡¢¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ç½ª¤¨¤Þ¤¹¡£ ʸ»úÎó¤ÎÃæ¤Ë¥À¥Ö¥ë¥¯¥©¡¼¥È¤ò´Þ¤á¤ë¤Ë¤Ï¡¢ ¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤òľÁ°¤ËÃÖ¤­¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢"\""¤Ï¡¢¥À¥Ö¥ë¥¯¥©¡¼¥È1¸Ä¤À¤±¤«¤éÀ®¤ëʸ»úÎó¤Ç¤¹¡£ ƱÍͤˡ¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤ò´Þ¤á¤ë¤Ë¤Ï¡¢ "this \\ is a single embedded backslash"¤Î¤è¤¦¤Ë¡¢ ¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤òľÁ°¤ËÃÖ¤­¤Þ¤¹¡£

ʸ»úÎó¤ÎÆþÎϹ½Ê¸¤Ë¤ª¤¤¤Æ¡¢²þ¹Ôʸ»ú¤ÏÆÃÊ̤ǤϤ¢¤ê¤Þ¤»¤ó¡£ ¥À¥Ö¥ë¥¯¥©¡¼¥È¤Î¤¢¤¤¤À¤Ë²þ¹Ô¤ò½ñ¤±¤Ð¡¢ ²þ¹Ô¤Ïʸ»úÎó¤Îʸ»ú¤Ë¤Ê¤ê¤Þ¤¹¡£ °ìÊý¡¢¥¨¥¹¥±¡¼¥×¤·¤¿²þ¹Ô¡¢¤Ä¤Þ¤ê¡¢‘\’¤òľÁ°¤Ë½ñ¤¯¤È¡¢ ʸ»úÎó¤Î°ìÉô¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ¤¹¤Ê¤ï¤Á¡¢Lisp¥ê¡¼¥À¤Ï¡¢Ê¸»úÎó¤òÆÉ¤àºÝ¤Ë¥¨¥¹¥±¡¼¥×¤·¤¿²þ¹Ô¤ò̵»ë¤·¤Þ¤¹¡£ ¥¨¥¹¥±¡¼¥×¤·¤¿¶õÇò‘¤â¡¢Æ±ÍͤË̵»ë¤·¤Þ¤¹¡£

"It is useful to include newlines
in documentation strings,
but the newline is \
ignored if escaped."
     ⇒ "It is useful to include newlines 
in documentation strings, 
but the newline is ignored if escaped."