Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
我想問如何用記事本寫程式?
Apr 18th 2013, 02:16

我以前初學的程式語言是batch
用記事本寫

步驟
1.打開記事本
2.輸入指令
@echo off
echo I'm new
3.儲存為 first.bat (檔名+.bat)
4.連按打開 first.bat
5.你會見到 I'm new

教學: http://echoprogram.bbs666.tw/t7-topic

例子: http://echoprogram.bbs666.tw/f4-forum
我忘了密碼...
______________________
PS:用VBS寫也可以

Msgbox"歡迎",vbInformation,"VBscript"
do
if Msgbox("你是白痴嗎?",vbYesNo+vbQuestion,"問題")=VbNo Then
Msgbox"請如實作答!",vbExclamation,"回答錯誤!"
else
Msgbox"你知道就好!",vbInformation,"正確!"
exit do
end if
loop

把這段碼用記事本儲存做 second.vbs (檔名+.vbs)

參考資料 me

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: Jousting With Toothpicks - The Case For Challenging Corporate Journalism http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/719-jousting-with-toothpicks-the-case-for-challenging-corporate-journalism.html.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    candycrushsaga2 發表在 痞客邦 留言(0) 人氣()