~Shared Sources~ We are only human =^.^=
~Shared Sources~ We are only human =^.^=
How is the SHARED statement used to pass values between a main program and a subprogram? What I mean is .... do I place the statement in the main program or the subprogram?
Mercy! This can be confusing.
Mercy! This can be confusing.
Life is Sweet!
~QT-Pi~
_____________________________________
"Its never too late to be what you might have been"
_____________________________________
We are the Negative to your Positive, the Positive to your Negative....Always
~QT-Pi~
_____________________________________
"Its never too late to be what you might have been"
_____________________________________
We are the Negative to your Positive, the Positive to your Negative....Always
yeah u put the statement:
before anythin else in your program, u delcare your sub and then right after that u put the common shared statement, of course u put it in the main program.
hope this helps...
Code: Select all
COMMON SHARED variable, variable2, variable3
hope this helps...
<b><i> "Rock is the first thing in life, after rock comes the comp...." Rock on Big M</i></b>
<img src="http://www.freewebs.com/mundofr/bigm2.bmp">
<img src="http://www.freewebs.com/mundofr/bigm2.bmp">
yah, mundofr is right.
and so on
Code: Select all
DECLARE MySub ()
DIM SHARED variable AS INTEGER
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
Hmmm "we knew that"? Are you speaking like a queen, or is there more than one of you? lol
When God created light, so too was born, the first Shadow!
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
LOL well if there's more than one, or three very different looking of the same I want pics for PROOF !!!! roflmao my friends ain't ever gonna believe this LOLOL
When God created light, so too was born, the first Shadow!
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
We = 3, and no we come here for the hell of it and yeah, some help too. LoL o Z!re.. too much coffee today? We still like you anyway We have had some positive output, well for the most part. And us 3 , We Thank-You!
Life is Sweet!
~QT-Pi~
_____________________________________
"Its never too late to be what you might have been"
_____________________________________
We are the Negative to your Positive, the Positive to your Negative....Always
~QT-Pi~
_____________________________________
"Its never too late to be what you might have been"
_____________________________________
We are the Negative to your Positive, the Positive to your Negative....Always
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
Ya, I noticed that too....you know Z!re I'm not totally cluelessZ!re wrote:QT-Pi is using this site to pass school assignments, with its friends.
I thought that was fairly obvious.
Let me guess, VB course next semester?
Ya I generally believe that off-topic posting is ok, but really QT-Pi, you guys are just posting shit.
"But...It was so beutifully done"