d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Sports Coliseum > Football & Rugby > Watch Stuart Get Owned
Prev13456Next
Add Reply New Topic New Poll
Member
Posts: 15,717
Joined: Aug 20 2007
Gold: 481.00
Feb 19 2015 12:28pm
Quote (Mangina @ Feb 19 2015 02:25pm)
So far i think vb.net has been a lot more intuitive but ive only used it for extending arcobjects. Last night i was able to concatenate an int with a string and it didn't give me any shit, i was surprised i didnt have to tostring it


hidden error will occur, im sure if you test it you will find out it didnt work properly

Dim s as String = "1"
Dim i as Integer = s -- this wont truly work, but wont throw an error


s = s+s -- this would make "11"

etc

and do you have options strict on? this is a must if you want to make anything that is worth making

This post was edited by t9x on Feb 19 2015 12:29pm
Member
Posts: 29,683
Joined: Sep 7 2006
Gold: 14,543.46
Feb 19 2015 12:31pm
Quote (t9x @ Feb 19 2015 01:28pm)
hidden error will occur, im sure if you test it you will find out it didnt work properly

Dim s as String = "1"
Dim i as Integer = s -- this wont truly work, but wont throw an error


s = s+s -- this would make "11"

etc

and do you have options strict on? this is a must if you want to make anything that is worth making


Honestly not sure, like i said ive only just started using it with the arcgis sdk. Ill take a look when i get home. Can you explain why?


What i mean was more along the lines of definitionquery = "category = " & categoryCode where categoryCode was an int

This post was edited by Mangina on Feb 19 2015 12:34pm
Member
Posts: 15,717
Joined: Aug 20 2007
Gold: 481.00
Feb 19 2015 12:34pm
Quote (Mangina @ Feb 19 2015 02:31pm)
Honestly not sure, like i said ive only just started using it with the arcgis sdk. Ill take a look when i get home. Can you explain why?


Options strict will warn you of implicit conversions and things that wont work properly, it just makes you a better programmer overall and doesnt let you come up with bad habits
Member
Posts: 29,683
Joined: Sep 7 2006
Gold: 14,543.46
Feb 19 2015 12:34pm
Quote (t9x @ Feb 19 2015 01:34pm)
Options strict will warn you of implicit conversions and things that wont work properly, it just makes you a better programmer overall and doesnt let you come up with bad habits



Will look into it for sure. Thanks.
Member
Posts: 72,078
Joined: May 31 2008
Gold: 3,570.21
Feb 19 2015 12:54pm
thread worth reading or nah?

SFW?
Member
Posts: 40,753
Joined: Apr 10 2008
Gold: 106.80
Feb 19 2015 01:06pm
Quote (Cheesehead @ Feb 19 2015 12:54pm)
thread worth reading or nah?

SFW?


Not really worth it at all to be honest.
Member
Posts: 60,666
Joined: Mar 3 2008
Gold: 809.00
Feb 19 2015 02:05pm
im dumber for having read this thread
Member
Posts: 2,555
Joined: May 18 2012
Gold: 0.00
Feb 19 2015 02:20pm
I doubt he went to georgia tech
Member
Posts: 34,836
Joined: Oct 7 2009
Gold: 21,939.75
Feb 19 2015 03:26pm
Quote (Benny21 @ Feb 19 2015 03:05pm)
im dumber for having read this thread


I feel dumber after reading the last two pages. It's like they're speaking a different language or something...
Member
Posts: 29,683
Joined: Sep 7 2006
Gold: 14,543.46
Feb 19 2015 05:47pm
Quote (TheE1337 @ Feb 19 2015 04:26pm)
I feel dumber after reading the last two pages. It's like they're speaking a different language or something...


Because we are lol
Go Back To Football & Rugby Topic List
Prev13456Next
Add Reply New Topic New Poll