2013-12-28 15:23:44更新於 2016-02-27 16:49:04
My.Application.CommandLineArgs.Count '參數總數
My.Application.CommandLineArgs(數字) '取得參數
作為筆記,以後方便自己記憶。
Example:
cmd-> x:\123.exe 123
code:My.Application.CommandLineArgs(0)
print:123
cmd-> x:\123.exe 123 456
code:My.Application.CommandLineArgs(0)、My.Application.CommandLineArgs(1)
print:123、456
WeilsNetLogo
This entry was posted in General By Weil Jimmer.
About Weil Jimmer
Hi! Everyone! My name is Weil Jimmer. This is my personal blog. I'm a webmaster of this site. I hope the site will be popular. Now, Let's go! Enjoy gaining more knowledge.
More Details About Me : https://weils.net/profile.php
Only the first 10 comment will show.
White Birch Forum © Copyright
©2010-2017 W.B.F. All Rights Reserved.
Weil Jimmer Web PHP Script