Trying something out

Topics that do not fit anywhere else. Absolutely NO discussions of religion, race, or immigration!

Moderators: carlson1, Charles L. Cotton


LikesShinyThings
Senior Member
Posts in topic: 132
Posts: 537
Joined: Sat Mar 06, 2010 7:57 pm
Location: Kingsland, TX

Re: Trying something out

#1576

Post by LikesShinyThings »

Lambda Force wrote: A stitch in time saves nine.
Wait a minute... didn't someone already say that? Are we repeating ourselves now? It feels like deja vu.
TSRA Life Member, NRA Benefactor Member, TX CHL
User avatar

Lambda Force
Senior Member
Posts in topic: 3
Posts: 600
Joined: Sun Oct 09, 2011 3:18 pm

Re: Trying something out

#1577

Post by Lambda Force »

I prefer Dejah Thoris.
Tyranny is identified by what is legal for government employees but illegal for the citizenry.
User avatar

WildBill
Senior Member
Posts in topic: 68
Posts: 17350
Joined: Tue Jul 03, 2007 12:53 pm
Location: Houston

Re: Trying something out

#1578

Post by WildBill »

LikesShinyThings wrote:
Lambda Force wrote: A stitch in time saves nine.
Wait a minute... didn't someone already say that? Are we repeating ourselves now? It feels like deja vu.
Nobody said that in this thread.
NRA Endowment Member
User avatar

MasterOfNone
Senior Member
Posts in topic: 5
Posts: 1276
Joined: Mon Dec 06, 2010 12:00 am
Location: Dallas
Contact:

Re: Trying something out

#1579

Post by MasterOfNone »

WildBill wrote:
LikesShinyThings wrote:
Lambda Force wrote: A stitch in time saves nine.
Wait a minute... didn't someone already say that? Are we repeating ourselves now? It feels like deja vu.
Nobody said that in this thread.
Wait a minute... didn't someone already say that? Are we repeating ourselves now? It feels like deja vu.
http://www.PersonalPerimeter.com
DFW area LTC Instructor
NRA Pistol Instructor, Range Safety Officer, Recruiter
User avatar

rubio
Member
Posts in topic: 1
Posts: 52
Joined: Sun Jan 01, 2012 8:05 pm

Re: Trying something out

#1580

Post by rubio »

20 GOTO 10
Now I have a
machine gun

HO - HO - HO
User avatar

sjfcontrol
Senior Member
Posts in topic: 327
Posts: 6267
Joined: Wed Oct 28, 2009 7:14 am
Location: Flint, TX

Re: Trying something out

#1581

Post by sjfcontrol »

Hmmm, I haven't seen a "goto" in a number of decades -- you're showing your age...
Range Rule: "The front gate lock is not an acceptable target."
Never Forget. Image

LikesShinyThings
Senior Member
Posts in topic: 132
Posts: 537
Joined: Sat Mar 06, 2010 7:57 pm
Location: Kingsland, TX

Re: Trying something out

#1582

Post by LikesShinyThings »

sjfcontrol wrote:Hmmm, I haven't seen a "goto" in a number of decades -- you're showing your age...
Isn't that a legit command in TransSQL? I'm pretty sure I've seen it in some relatively new code.
TSRA Life Member, NRA Benefactor Member, TX CHL
User avatar

sjfcontrol
Senior Member
Posts in topic: 327
Posts: 6267
Joined: Wed Oct 28, 2009 7:14 am
Location: Flint, TX

Re: Trying something out

#1583

Post by sjfcontrol »

LikesShinyThings wrote:
sjfcontrol wrote:Hmmm, I haven't seen a "goto" in a number of decades -- you're showing your age...
Isn't that a legit command in TransSQL? I'm pretty sure I've seen it in some relatively new code.
It is a legit command in many languages. But it is generally considered **EVIL** ;-)

Here's what 'ruby'' has to say about it: http://raa.ruby-lang.org/project/ruby-goto/

Image
Range Rule: "The front gate lock is not an acceptable target."
Never Forget. Image
User avatar

MasterOfNone
Senior Member
Posts in topic: 5
Posts: 1276
Joined: Mon Dec 06, 2010 12:00 am
Location: Dallas
Contact:

Re: Trying something out

#1584

Post by MasterOfNone »

I hear "Go to ..." from my wife all the time.
http://www.PersonalPerimeter.com
DFW area LTC Instructor
NRA Pistol Instructor, Range Safety Officer, Recruiter
User avatar

sjfcontrol
Senior Member
Posts in topic: 327
Posts: 6267
Joined: Wed Oct 28, 2009 7:14 am
Location: Flint, TX

Re: Trying something out

#1585

Post by sjfcontrol »

MasterOfNone wrote:I hear "Go to ..." from my wife all the time.
I suggest trying to be nicer to her. I understand they like shiny things. Especially if made of carbon...
Range Rule: "The front gate lock is not an acceptable target."
Never Forget. Image

LikesShinyThings
Senior Member
Posts in topic: 132
Posts: 537
Joined: Sat Mar 06, 2010 7:57 pm
Location: Kingsland, TX

Re: Trying something out

#1586

Post by LikesShinyThings »

sjfcontrol wrote:
LikesShinyThings wrote:
sjfcontrol wrote:Hmmm, I haven't seen a "goto" in a number of decades -- you're showing your age...
Isn't that a legit command in TransSQL? I'm pretty sure I've seen it in some relatively new code.
It is a legit command in many languages. But it is generally considered **EVIL** ;-)

Here's what 'ruby'' has to say about it: http://raa.ruby-lang.org/project/ruby-goto/

Image
Oooo.... must... resist... desire... to... discuss.... I don't want to accidentally give this thread a theme. Besides, who wants to bore the non-programmers (especially so early in the year) with design theory?

Time to go clean a gun. :mrgreen:
TSRA Life Member, NRA Benefactor Member, TX CHL
User avatar

MasterOfNone
Senior Member
Posts in topic: 5
Posts: 1276
Joined: Mon Dec 06, 2010 12:00 am
Location: Dallas
Contact:

Re: Trying something out

#1587

Post by MasterOfNone »

LikesShinyThings wrote:Time to goto clean a gun. :mrgreen:
See? Goto is still a part of our lives.
http://www.PersonalPerimeter.com
DFW area LTC Instructor
NRA Pistol Instructor, Range Safety Officer, Recruiter
User avatar

tbrown
Senior Member
Posts in topic: 21
Posts: 1685
Joined: Thu Mar 17, 2011 4:47 pm

Re: Trying something out

#1588

Post by tbrown »

Code: Select all

For Each Magazine In Rangebag
     Gun.Add = Magazine 
     Gun.Slide.Close 
     Do While Gun.Magazine.Empty = False       
          With Gun
          .Aim 
          .Shoot 
          End With
     Loop 
     Gun.Magazine.Eject 
Next Magazine

If Gun.Type <> "Glock" Then 
     Gun.Clean  
End if  
sent to you from my safe space in the hill country
User avatar

sjfcontrol
Senior Member
Posts in topic: 327
Posts: 6267
Joined: Wed Oct 28, 2009 7:14 am
Location: Flint, TX

Re: Trying something out

#1589

Post by sjfcontrol »

tbrown wrote:

Code: Select all

For Each Magazine In Rangebag
     Gun.Add = Magazine 
     Gun.Slide.Close 
     Do While Gun.Magazine.Empty = False       
          With Gun
          .Aim 
          .Shoot 
          End With
     Loop 
     Gun.Magazine.Eject 
Next Magazine

If Gun.Type <> "Glock" Then 
     Gun.Clean  
End if  
Hmmm, maybe it should start with "Goto Range""? :biggrinjester:
Range Rule: "The front gate lock is not an acceptable target."
Never Forget. Image
User avatar

tbrown
Senior Member
Posts in topic: 21
Posts: 1685
Joined: Thu Mar 17, 2011 4:47 pm

Re: Trying something out

#1590

Post by tbrown »

sjfcontrol wrote:Hmmm, maybe it should start with "Goto Range""? :biggrinjester:
It's better practice to use the .Range property.
sent to you from my safe space in the hill country
Post Reply

Return to “Off-Topic”