473,794 Members | 3,056 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB "Call" syntax vs command-style syntax

I'm looking for coding style opinions.

It looks to me like most VB/VBA coders use the command-style syntax for
calling subs or functions being treated as subs in a particular context ...

Foo "ABC", varDest

Occasionally, I see code using the Call syntax instead.

Call Foo("ABC", varDest)

I used to find that wierd, but now, I'm wondering if it isn't really the
superior style. Basically, I find myself starting to use named parameters
more (whenever it isn't blatantly obvious what the parameters must be by
looking at the call line), and I think Call reads easier in these cases. So,
do be consistent, I'm thinking I might just start using Call in all cases.

Foo Src:="ABC", Dest:=varDest

vs

Call Foo(Src:="ABC", Dest:=varDest)
Your thoughts?
Nov 13 '05
15 2127
"Larry Linson" <bo*****@localh ost.not> wrote in message news:<iy******* **********@nwrd dc01.gnilink.ne t>...
If you are, indeed, Yu Hong Wang, MVP, continue this communication in the
private MVP newsgroup for Access. If I do not see you posting there, it will
confirm that you are a Don P Mellon sockpuppet or tagalong troll
impersonating Yu Hong Wang.

If I do see your message there (and the other MVPs who participate here will
see it, too) I will offer my apology.

However, given that MVPs who participate here actually answer questions,
instead of posting inane, off-topic messages, until then, G'day, Donnie.

Larry Linson
Microsoft Access MVP


Challenge/Response Authentication?

James A. Fortune
Nov 13 '05 #11
James Fortune wrote:
"Larry Linson" <bo*****@localh ost.not> wrote in message news:<iy******* **********@nwrd dc01.gnilink.ne t>...
If you are, indeed, Yu Hong Wang, MVP, continue this communication in the
private MVP newsgroup for Access. If I do not see you posting there, it will
confirm that you are a Don P Mellon sockpuppet or tagalong troll
impersonati ng Yu Hong Wang.

If I do see your message there (and the other MVPs who participate here will
see it, too) I will offer my apology.

However, given that MVPs who participate here actually answer questions,
instead of posting inane, off-topic messages, until then, G'day, Donnie.

Larry Linson
Microsoft Access MVP

Challenge/Response Authentication?

James A. Fortune


Well he's a good CHAP :-)

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 13 '05 #12

"Larry Linson" <bo*****@localh ost.not> wrote in message
news:_M******** ***********@nwr ddc02.gnilink.n et...
"Sherwood Wang" wrote
> > If you are, indeed, Yu Hong Wang, MVP,
> > continue this communication in the private
> > MVP newsgroup for Access. If I do not
> > see you posting there, it will confirm that
> > you are a Don P Mellon sockpuppet or
> > tagalong troll impersonating Yu Hong Wang. > > If I do see your message there (and the
> > other MVPs who participate here will
> > see it, too) I will offer my apology.
> >
> > However, given that MVPs who participate
> > here actually answer questions, instead of
> > posting inane, off-topic messages, until then,
> > G'day, Donnie.
> mr larry linson i post 1 time i post 2 time.
> you apology now please. or as
> many you say go fly the kike!
>
> *Sherwood Wang MVP*


You are not the MVP Yu Hong Wang as you claimed. Trolls and sockpuppets do
not get apologies, even for real slights, much less the imagined one that
you claim.

Donnie, don't you think that the MVPs have communication within their own
community?

You are really showing your ignorance, here, with this silly attempt at
"broken English" -- apparently you have not known the Chinese I have, most
of whom speak better English on a bad day than a Mellon-troll does on a

good day.

G'day, Donnie.

Larry Linson
Microsoft Access MVP

i not chinese. you rascist bad moron.

*Sherwood Wang MVP*
Nov 13 '05 #13

"Sherwood Wang" <sh****@waynes. net> wrote
i not chinese. you rascist bad moron.

*Sherwood Wang MVP*


You claimed to be the MVP Yu Hong Wang, who is Chinese, and you are
denigrating Chinese with your silly attempts at "dialect", Donnie. Put away
your sockpuppet and go answer some real Access questions.
Nov 13 '05 #14

"Larry Linson" <bo*****@localh ost.not> wrote in message
news:J0******** ********@nwrddc 03.gnilink.net. ..

"Sherwood Wang" <sh****@waynes. net> wrote
> i not chinese. you rascist bad moron.
>
> *Sherwood Wang MVP*
You claimed to be the MVP Yu Hong Wang, who is Chinese, and you are
denigrating Chinese with your silly attempts at "dialect", Donnie. Put

away your sockpuppet and go answer some real Access questions.

Larry,

Yu is of Taiwanese descent. I'd suggest you drop this thread before you
cause more trouble than you have already.

F. Scott Barker, Access MVP
Nov 13 '05 #15
Message-ID: <Lx************ *******@cyclops .nntpserver.com >


Forgery. This is a known hangout of our resident troll.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
46969
by: ¤ Alias | last post by:
I have a function named getID3info (lvwDiscInfo.SelectedItem). What is the difference between getID3info (lvwDiscInfo.SelectedItem) and Call getID3info(lvwDiscInfo.SelectedItem) ?
2
3764
by: Sylwia | last post by:
Hi! I need your help... I have the following problem. I've implemented the python Windows Service which behaves like a log supervisor. If the space used by log files is bigger than a given upper limit, then it starts to delete log files until the space is less than a given
0
1551
by: Nazgul | last post by:
Hi! Sorry if I posted it twice... I need your help... I have the following problem. I've implemented the python Windows Service which behaves like a log supervisor. If the space used by log files is bigger than a given upper limit, then it starts to delete log files until the space is less than a given lower limit. I configured the service to start up automatically on system boot. The script checks the space used by log files every 1000...
7
1660
by: William Morris | last post by:
So, what's the prevailing opinion regarding the use of the "CALL" keyword? I'm working with a third-party ASP application, adapting for our system, and the CALL keyword is used everywhere. I've never used it, preferring instead to just type the procedure name and parameters so: myProcedure parm1, parm2 Any thoughts on call myProcedure(parm1, parm2)
13
4813
by: Larry Menard | last post by:
Test code: $dbconn = odbc_connect($dbname, $username, $password); $path = "C:\Temp\myJar.jar"; $statement = "CALL SQLJ.INSTALL_JAR('file://$path', 'myJarId')"; $result = odbc_exec($dbconn, $statement); Result: PHP Warning: odbc_exec(): SQL error: CLI0119E Unexpected system failure.
10
2889
by: Thorsten Ottosen | last post by:
Hi, I'm trying to escape html before its saved in a database. I tried $text = htmlentities( $reader->value ); but that don't work for e.g. japanese characters.
2
2884
by: javelin | last post by:
I'm studying "Visual Basic Developer's Guid to ASP & IIS", and I am following instructions an pp 72-75. I am creating a WebClass, and enter code as instructed, and it all is entered correctly. When I try and run, I get the folowing error: "The call to Server.CreateObject failed while checking permissions. Access is denied to this object." I've not compiled this, but am following instructions to just run the
5
3350
by: Frederick Gotham | last post by:
If we have a simple class such as follows: #include <string> struct MyStruct { std::string member; MyStruct(unsigned const i) {
0
866
by: Ralf.Schaa | last post by:
Hi there, hope somebody here can help me out: is there a command in matplotlib which resembles DISLIN's "CALL NEWPAG" ? I am trying to make multiple plots on several pages, all stored in one ps (or pdf) document. Cheers -Ralf
3
5923
by: Imaginativeone | last post by:
XML <nodeAA>AA</nodeAA> <nodeBB>BB</nodeBB> <nodeCC> <From>12/05</From> <To>11/06</To> <Months>12</Months> <Amount>10.00</Amount> CC </nodeCC>
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.