UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> (Beginer Question #3) Passing a value to a function    
 
   
AntonioPS
post Oct 23 2007, 11:38 AM
Post #1

UtterAccess Addict
Posts: 241
From: DE and PA



I like to try and call functions where i can for individual processes. OOP?

How can i pass a value from where the function is being called to the actual function

ie

Sub
call fn
myvalue= .value
end sub

function
use.value in code
Go to the top of the page
 
+
 
Start new topic
Replies
MattJ
post Oct 23 2007, 12:43 PM
Post #2

UtterAccess VIP
Posts: 4,621
From: North Carolina, USA



The general difference between sub and functions is that functions produce a value. Subs merely process lines of code.
Go to the top of the page
 
+

Posts in this topic


Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th May 2013 - 01:41 PM