Hello, I was wondering if anyone knows and could explain the do's and don'ts of using Functions and Subs? For example: CALL DoThis(A$,index1,index2) SUB...
John, My Aunt died last Sunday evening. The funeral was Wednesday evening. I no longer have power of attorney and am not yet the executor of her estate....
Hello Dave, I wish it did help, but I have to say no. Well, the one part about looking at the C source that BCX makes does, but I never EVER used subs and...
WOW Dave, I just found out that the previous example CHANGES depending on what variable names are used! YES YES YES!!!!! Thanks Dave! If I never looked at the...
So, static means GLOBAL, but also tells the linker ONLY for this .obj file to use? subpopcorn(A,d,e); // call to SUB passing pointer to A$ So, what does this...
John, ... file to use? Yes. ... If the variable is and array, then the name is a pointer to the first element. It could have been written &A[0]. ... and a and...
Thanks Dave, here is 1 of the 3 last questions I have: CALL SUB Foo(A$) END SUB Foo(A$) END SUB The variable A$ cannot (is not suppose to be) used in both...
John, Gona make me work aren't you? ... Given this program : ' foo.bas dim A$ A$ = "test" Foo(A$) END SUB Foo(A$) ' test passing of string to routine print A$ ...
Thanks Dave, I have searched the BCX archives for the messages that I previously posted and the responses. After reading them this 2nd time I realised that I...
Hello, thought we could make a list of "rules" or whatever to add into a documentation for others? 1) Do not use a variable name in your program if that name...
John, I think your understanding is the same as mine. At least I don't see anything below to correct. David Garner ... I ... going ... string$ ... THIS ... it...
John, ... inside a ... Also ... local ... Given this program : ' foo.bas dim A$ A$ = "test" Foo() print A$ END SUB Foo() ' test of local vs global string...
Thanks, this is how I use to program in C: char buffer[1024]; strcpy(buffer,"HELLO"); printf("%s",buffer); I was wondering if "buffer" in the strcpy line was a...
I hate to keep bugging you Dave, but (last question) Does the variable declared in a sub/function get automatically freed when the sub/function closes or if...
i have nothing to say about the subs & funtions or even the Hello ;-) but i stop by to ask where everyone is on the tutorial stuff. us non-programmers would...
John, ... No it's not. ;) But, it's the last one I'm going to answer tonight - I'm off to bed. ... when ... 100 ... If the variable is declared in the...
That is bad, but I've already knew this. When you install the MSDN kit it tells you this and not to run, use, or accept it when you are not on the M$ web site ...
All of this is true, but what stoped m$ from doing this in the past was the legality of it all. now, when you install SP3, they make it (in their twisted...
Right, but if the company who does the actual hacking causes the end user to loose profit then the end user can sue for damages and the hacking is then ...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the mmtut group. File : /Helps and...
mmtut@yahoogroups.com
Aug 4, 2002 5:43 pm
245
Hello, I just uploaded a file that I use all the time. I just re-wrote the entire thing and this is it. The top portion is enclosed by the $COMMENT tags. If...
so, i'm sitting here scratching my head wondering what the heck i'm doing wrong. :-\ when it occured to me that this isn't just a problem with the program....
Dr.X, In the EZ-GUI directory in the BCX forum, I split the huge example Kevin created (the one in the BCX help file) into its component parts and made an...
David, ... if _i_ create it, it will be all wrong. ... i have that. i think it's a work of art. i use it to create the form then i just edit the heck out of...