2010-08-19 101 views

回答

4

它已經在那裏供您使用。嘗試運行它並看看。請記住,在分配變量時,「=」號之間不能有空格

$ function section { variable="Hello"; } 
$ section 
$ echo $variable 
Hello