473,794 Members | 2,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Logical On

Cor
Hi group,

A question to the group, would it not be for a lot of the users better when
there was beside "Option strict on" an "Option logical Strict on".

I was automaticaly writting Textbox1.text = 0.tostring. I know what it has
to be, but I did this automaticly.

I find this crazy, it cannot be something else than a string, so the
compiler must have to find this very easy, but for the puritains, than that
option, than they can set it off.

I think that for a lot of VB users this kind of things is more important
than operator overloading or other more C behaviour (I understand a lot of
sophisticated users want it, so I would not say, don't let them make it, but
I think that this "Option logical strict on" would get 90% of the users
while operator overloading maybe 10%).

Just a thougth?

Cor
Nov 20 '05
23 1611
Webster's 1913 - bet that version doesn't have an entry for McJob.

The definition: "low-paying and dead-end work".

http://news.bbc.co.uk/2/hi/americas/3255883.stm

"Fergus Cooney" <fi****@post.co m> wrote in message news:<#i******* *******@tk2msft ngp13.phx.gbl>. ..
Hiya Hex,

|| The crux of my previous post is what <other> implicit methods would exist

I agree. I've held back on my own comments because I wanted to ponder that very point
(but there's not really enough brain awake so far).

I think the point we differ on is that you're thinking of the type of the 3, while
it's the receiving type which would determine which conversion is required. I can see that
there could be clashes, not with S and 3, perhaps, but in other combinations there would
be the question 'which one?' - which is what you were getting at I believe.

That aside, this is an excellent opportunity to ask about 'Hexathioorthoo xalate'.
Hexa is the six, of course, as in benzene, thio is sulphur, oxalate is oxalic acid and
ortho is the paired carbon substitution. (All courtesy of Webster's 1913 Dictionary -
http://www.hyperdictionary.com) But I've found no web reference to the combination, nor of
course, as to why you and it are one!

Regards,
Fergus

Nov 20 '05 #21
Hi Tony,

|| McDonald's anger over McJob entry
||
|| McDonald's has expressed its outrage over how
|| the latest Merriam-Webster's Collegiate Dictionary
|| describes job prospects at the US fast-food giant.

ROFL.

There's Webster's 1913 and then there's
http://www.urbandictionary.com/defin...term=mcjob&f=1

Regards,
Fergus
Nov 20 '05 #22
check out some of the other definitions of mcjobs from other online
sites...real funny..i think this is blown out of proportions!

http://go.jitbot.com/urban_ref_mcjob
http://go.jitbot.com/4reference-mcjob
http://go.jitbot.com/wikipipedia-mcjob
http://go.jitbot.com/collins_dic-mcjob
http://go.jitbot.com/american_dic-mcjob

Mitch
"Tony Cantara" <to************ @hotmail.com> wrote in message
news:3d******** *************** **@posting.goog le.com...
Webster's 1913 - bet that version doesn't have an entry for McJob.

The definition: "low-paying and dead-end work".

http://news.bbc.co.uk/2/hi/americas/3255883.stm

"Fergus Cooney" <fi****@post.co m> wrote in message

news:<#i******* *******@tk2msft ngp13.phx.gbl>. ..
Hiya Hex,

|| The crux of my previous post is what <other> implicit methods would exist
I agree. I've held back on my own comments because I wanted to ponder that very point (but there's not really enough brain awake so far).

I think the point we differ on is that you're thinking of the type of the 3, while it's the receiving type which would determine which conversion is required. I can see that there could be clashes, not with S and 3, perhaps, but in other combinations there would be the question 'which one?' - which is what you were getting at I believe.
That aside, this is an excellent opportunity to ask about 'Hexathioorthoo xalate'. Hexa is the six, of course, as in benzene, thio is sulphur, oxalate is oxalic acid and ortho is the paired carbon substitution. (All courtesy of Webster's 1913 Dictionary - http://www.hyperdictionary.com) But I've found no web reference to the combination, nor of course, as to why you and it are one!

Regards,
Fergus

Nov 20 '05 #23
Cor,
If you are saying that an implicit conversion from integer to String should
occur in:

Dim s As String
s = 0

Then Operator Overloading will enable us to define this behavior for our own
classes, not sure if the conversions will be defined for the base classes.
(they are some already defined, that are available in C# today).

My only concern with the above example is: Should the compiler use A or B
below?

A:
s = 0.ToString()

B:
s = "0"

C:
s = ChrW(0)

I would not expect C, however Herfried has a point.

Obviously if we used a variable instead of a literal (or constant) then B is
not an option. While for literals B would be more efficient.

Hope this helps
Jay


"Cor" <no*@non.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi group,

A question to the group, would it not be for a lot of the users better when there was beside "Option strict on" an "Option logical Strict on".

I was automaticaly writting Textbox1.text = 0.tostring. I know what it has
to be, but I did this automaticly.

I find this crazy, it cannot be something else than a string, so the
compiler must have to find this very easy, but for the puritains, than that option, than they can set it off.

I think that for a lot of VB users this kind of things is more important
than operator overloading or other more C behaviour (I understand a lot of
sophisticated users want it, so I would not say, don't let them make it, but I think that this "Option logical strict on" would get 90% of the users
while operator overloading maybe 10%).

Just a thougth?

Cor

Nov 20 '05 #24

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

Similar topics

6
44115
by: Hari Om | last post by:
Here are the details of my error log files: I execute the command and get following message at console: ---------------------------------------------------------------------- ../sqlldr scott/tiger@common control=/full_path/test.ctl log=/full_path/adhoc/test.log SQL*Loader: Release 9.2.0.1.0 - Production on Tue Sep 2 10:49:27 2003 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
7
2905
by: Charles Crume | last post by:
Hello all; I have used dBASE, and other computer languages/databases, for years. They all have a logical field type. However, the version of MySQL used by the ISP hosting my site does not support a "logical" field type. It does support ENUM and I have set some up in a couple of tables that accept the values 'T' and 'F'. Sometimes they work like a logical field: if ($myrow) echo 'New';
80
35136
by: Christopher Benson-Manica | last post by:
Of course one can get the effect with appropriate use of existing operators, but a ^^ operator would make for nice symmetry (as well as useful to me in something I'm working on). Am I the only one who would find it useful? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
3
1572
by: serge | last post by:
How do I determine which method I should use if I want to optimize the performance of a database. I took Northwind's database to run my example. My query is I want to retrieve the Employees' First and Last Names that sold between $100,000 and $200,000. First let me create a function that takes the EmployeeID
4
3559
by: serge | last post by:
I am running a query in SQL 2000 SP4, Windows 2000 Server that is not being shared with any other users or any sql connections users. The db involves a lot of tables, JOINs, LEFT JOINs, UNIONS etc... Ok it's not a pretty code and my job is to make it better. But for now one thing I would like to understand with your help is why the same SP on the same server and everything the same without me changing anything at all in terms of SQL...
14
36863
by: blueboy | last post by:
Hi, I am planning to automate a nighty restore of a DB on another server can someone point me in the right direction with the SQL script to modify the logical file names to the correct path and not the ones carried over with the DB?? i.e the database is to be renamed on the new server any help much appreciated
2
5545
by: dbtwo | last post by:
Until today I always thought as long as you see a lot of logical reads as compared to physical reads, then you're good. But it looks like it isn't so. But doesn't logical read mean it's being read from memory and no I/O involved? So why is Logical Reads = CPU Consumption ? I ran into an exact scenario last week when our applciation were running something, and each time an application started, the CPU would go from 99% idle to 48% idle. I...
1
1951
by: ags5406 | last post by:
Hi -- I posted this in a Fortran group but thought I'd post here as well. Any help is appreciated. I have a IVF10 DLL that is the calculation engine for a frontend application written in VB.NET 2005. I've noticed that when I pass a Boolean/Logical from VB.NET to IVF10 as part of an argument list, when I try to evaluate it it only
11
4695
by: Dominic Vella | last post by:
I am using MS-Access2000. I can't seem to set the default values for Logical type fields. I start with Dim dbsTmp As Object ' I think it's DAO.Database Set dbsTmp = DBEngine.OpenDatabase(CurrentProject.path & "\data_be.mdb") and then use the following to run my SQL ststement dbsTmp.Execute ----------------------------------------------------- Something like this SQL statement works: "ALTER TABLE tblStudent ADD COLUMN student_number...
7
3561
by: raylopez99 | last post by:
I have a logical drawing space much bigger than the viewport (the screen) and I'd like to center the viewport (the screen) to be at the center of the logical drawing space. After following the excellent transforms specified on Bob Powell's site, I still wonder if there's an easier way of centering it than the following procedure? Here is what I do now (it's awkward but it works): 1) I follow the transforms specified on Bob Powell's...
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...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
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...
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.