프로시저 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 : ... 210 : 211 : 212 : 213 : 214 : 215 : 216 : 217 : 218 : ... 324 : Next »

블로그 이미지

- 홍반장

Archives

Recent Comments

  1. 1 pHqghUme 2025
  2. 1 pHqghUme 2025
  3. 1 pHqghUme 2025
  4. 1 pHqghUme 2025
  5. 1 pHqghUme 2025

Calendar

«   2026/03   »
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 31        
Statistics Graph

Site Stats

Total hits:
340027
Today:
0
Yesterday:
131