프로시저 Function 명

function 은 호출 이름이 동일해야 값을 반환할수 있다.

<%

sub printnum(a)
response.write cstr(a) & \" \"
end sub
function addNum(a,b)
addnum = a + b
End function

dim a, b, c
a=1
b=2
printnum a
printnum b
c = addNum(a, b)
printnum c



function total_cate( a )
total_cate = a
end function

cate_nom = total_cate( \"111\" )

response.write cate_nom & \" \"
%>
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2005/09/24 18:02 2005/09/24 18:02
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/270

Trackback URL : http://tcbs17.cafe24.com/tc/trackback/270

« Previous : 1 : ... 5106 : 5107 : 5108 : 5109 : 5110 : 5111 : 5112 : 5113 : 5114 : ... 6391 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/04   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Statistics Graph

Site Stats

Total hits:
183591
Today:
19
Yesterday:
394