Unstoppable Domains โ€” Expired Auctions

Turing?

Spacemail by SpaceshipSpacemail by Spaceship
Watch

Chicken

Full Stack DeveloperVIP Member
Impact
73
Anyone here good with turing?

I'm trying to do this,

I want it to ask your First Middle Last name in a for loop and then output your first middle last

I'm really stumped I've tried just doing

Code:
var name : string

for count : 1 .. 3
get name
name := name + name
end for

put name

But its just crack
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
What does it do? I have no idea about Turing itself, but it looks like you're continually overwriting the initial 'name' variable with what you read in. What about something like:

Code:
var fullname : string

for count : 1 .. 3
get name
fullname := fullname + name
end for

put fullname
 
0
•••
0
•••
OK, so from that link of beaver6813's, you would probably also have to add:
var name : string

under:
var fullname : string
 
0
•••
Thanks all :)

I figured it out at school

Its like this

Code:
var name : string
var fullname : string

for count : 1 .. 3
put "Enter your name "
get name

fullname := name + fullname + " "

end for

put "Your full name is", fullname

I think thats correct. but just off top of my head
 
0
•••
What he is doing is getting you to type in your name 3 times (first, middle, last) and it keeps adding it to the name string.

I don't know turing at all, but can you tell us what it's outputting when you type something into it. I think the problem could be you are overwriting name when you ask for it again.

edit: Bah, you just made that last post while I was making this one. I think you left out a get fullname, but oh well. :/
 
0
•••
What a weird language :/
Learn something usual at school like VB :)
 
0
•••
Dan said:
What he is doing is getting you to type in your name 3 times (first, middle, last) and it keeps adding it to the name string.

I don't know turing at all, but can you tell us what it's outputting when you type something into it. I think the problem could be you are overwriting name when you ask for it again.

edit: Bah, you just made that last post while I was making this one. I think you left out a get fullname, but oh well. :/
I didn't leave anything out ;)

fullName stores First, Middle, Last in it.


beaver6813 said:
What a weird language :/
Learn something usual at school like VB :)
It defiantly a useless language, not my option to learn it. We have to too pass.
 
Last edited:
0
•••
I just looked at the code and you're right. Turing 8-X
 
0
•••
Dan said:
I just looked at the code and you're right. Turing 8-X
Yep usless :P

Turing Sucks.

Theres only like 1 forum to help and it took like 4 years to get an activation email.
 
0
•••
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back