§ÚÌ¥i¥H±N±`¥Îªº¨ç¦¡¡A©ñ¦b¤@Ө禡©w¸qÀɤº¡AµM«á¦A±q¨ä¥Lµ{¦¡¤¤¡A¥[¤J¦¹ÀɮסA´N¥i¥H¨Ï¥Î¦¹¨ç¦¡©w¸qÀɤ¤©Ò©w¸qªº¨ç¦¡¡CWSH ©Ò¥Îªº¨ç¦¡ÀɮסA¥i¥H¨ã¦³¥ô¦ó°ÆÀɦW¡A¦ý§Ú̳q±`±N¦¹Ãþ¨ç¦¡Àɮתº°ÆÀɦW³]©w¬° fun¡]³o¬O§ÚÓ¤Hªº²ßºD¡A§A¤]¥i¥H¿ï¥Î¤£¦Pªº°ÆÀɦW¡^¡A¥H¸ê°Ï§O¡C¨Ò¦p¡A§ÚÌ¥i¥H±Npºâ¥Ñ1¨ìnªºÁ`©Mªº¨ç¦¡¡A©ñ¦b sumFunction.fun¡A¦p¤U¡G
Yn©I¥s¦¹Àɮשҩw¸qªº¨ç¦¡¡A³q±`§ÚÌ¥²¶·±N¥Dµ{¦¡ªº°ÆÀɦW§ï¬° wsf¡A¨Ã¨Ï¥Î¤Uz¤è¦¡¨Ó¾É¤J¨ç¦¡©w¸qÀÉ¡G
¨Ò¦p¡G ¬Æ¦Ü§ÚÌ¥i¥H¥Ñ¤£¦Pªºµ{¦¡»y¨¥Àô¹Ò¡A¨Ó©I¥s JavaScript ªº¨ç¦¡¡A¦p¤U¡G
¦b¤Wz½d¨Ò¤¤¡A§Ų́ϥΠJScript ©M VBScript ¨Ó©I¥s¦P¤@Ó¡]¥Ñ JScript ¨Ó¼¶¼gªº¡^¨ç¼Æ¡A°õ¦æ«á¥i±o¨ì¦P¼Ëªºµ²ªG¡AÅã¥Ü¦p¤U¡G
1+2+...+40 = 820 (via Jscript) 1+2+...+40 = 820 (via VBScript) ¨Æ¹ê¤W¡A§ÚÌ¥i¥H¨Ï¥Î¦P¼Ë¤@Ó¨ç¼Æ©w¸qÀÉ©ó«È¤áºÝªº JavaScript¡]¥Î©óºô¶¡^¡B¦øªA¾¹ºÝªº JScript¡]¥Î©ó ASP¡^¡B¥»¾÷ªº JScript¡]¥Î©ó WSH¡^¡A¹F¨ì¡u¤@³½¤T¦Y¡vªº³Ì°ª¹Ò¬É¡A¥u¬O¦b¾É¤J¨ç¼Æ©w¸qÀɮɡA©Ò¥Îªº»yªk¤£ºÉ¬Û¦P¡C°²³]§ÚÌn¾É¤J¨ç¼Æ©w¸qÀÉ file.fun¡A«h¦b¤Wz¤TºØÀô¹Ò¤U©Ò¥Îªº¾É¤J«ü¥O¦C¥X¦p¤U¡G
- «È¤áºÝªº JavaScript¡]¥Î©óºô¶¡^¡G
¬ÛÃö»¡©ú¥i¨£¥»®Ñ²Ä 5 ³¹¡C - ¦øªA¾¹ºÝªº JScript¡]¥Î©ó ASP¡^¡G
<script language=jscript runat=server src="file.fun">¬ÛÃö»¡©ú¥i¨£¥»®Ñ²Ä 13 ³¹¡C¡]½Ðª`·N¡G³o¸Ì¤£¯à¬Ù²¤ language ªº¼ÐÅÒ¡I¡^- ¥»¾÷ªº JScript¡]¥Î©ó WSH¡^¡G
JScript µ{¦¡³]p»PÀ³¥Î¡G¥Î©ó³æ¾÷ªº WSH Àô¹Ò