| 著作一覧 |
MAS.
ASRをJScript、VBScriptの次に置いてくれてるので紹介。
こんな感じで使える。
MAS JScript> var x = new ActiveXObject("Microsoft.XMLHTTP");
MAS JScript> x.open("GET", "http://www.yahoo.co.jp", false);
MAS JScript> x.send();
MAS JScript> ? x.responseText.substring(0, 50);
<html>
<head>
<meta http-equiv="Content-Type" cont
MAS JScript> Exit();
あるいは、
MAS VBScript> Dim x
MAS VBScript> Set x = CreateObject("Microsoft.XMLHTTP")
MAS VBScript> x.open "GET", "http://www.google.co.jp", False
MAS VBScript> x.send
MAS VBScript> ? Len(x.responseText)
4,125
MAS VBScript> ? Left(x.responseText, 50)
<html><head><meta http-equiv="content-type" conten
MAS VBScript> Quit
irbのJScript/VBScript版として使えるかな(という意味ではirbがあるからASR版はいまいち使い道はないかも知れないけど)。
ジェズイットを見習え |