PRI:Primer contents
ãã€ã¢ããšã¢ãã
èŠããŠãããïŒãã¹ãŠã®åè©ã¯ã¢ãããšãã€ã¢ãã®äž¡æ¹ã®å®çŸ©ãæã£ãŠããã
ã©ã³ã¯
å¯è©ãšæ¥ç¶è©
J for C Programmers
ifæã¯ã©ããªã£ãã®ãïŒ
æã®åºåãèšå·ã¯äœã§ããïŒ
Jã®ã³ãŒããèŠãããšãããã ä»ã®æåã¯ãã¹ãŠããªãªããã³ãã³ã ã ç®ã®åã«ã·ããã§ããã ãããªã®èª°ãèªãããã ïŒ
宣èšã¯ã©ãã«ããã®ãïŒ Jã§ã¯é
åã䜿ããªãã®ã§ããïŒ å€æ°ã®åãç¥ãã«ã¯ïŒ
Jã®ã³ãŒããäžè¡èŠãŠã¿ãããæ§æããããããããã¡ããã¡ãã ã
1 2 + 3ã äœåãªæ°åã空éã«æµ®ããã§ããã®ã¯ãªãã ããïŒ
ããJã®ã³ãŒããèŠãŠã¿ãããããã«ã¯å€æ°ããŸã£ãããªãã ãããäœãæå³ããã®ãïŒ
ããã°ã©ã ãæžããããã©ããã£ãŠå®è¡ããã®ã§ããïŒ é¢æ°åŒã³åºãã®ãããªãã®ã¯èŠåœãããŸããã
ããã°ã©ã ã¯ã©ã®ããã«ã³ã³ãã€ã«ããã®ã§ããïŒ
äžéåŒçšç¬Šã¯éãã
æ°åŠã§ã䜿ãããèšèãã³ã³ãã¥ãŒã¿èšèªãã奪ããé¢æ°ã¯åè©ã«ãªã
ç¹å¥ãªååã«é¢ãã泚æ