;Can you correct this line for me?
;PrintN("My house" str(aNumber)
;-------------------------Number-Age-Name---------------------------
;EnableGraphicalConsole(#True)
;EnableExplicit
Global nNname.s
Define aAge
Define aNumber
OpenConsole()
;-----------------------------------
PrintN (" Enter your house number!")
aNumber = Val(Input())
;PrintN("My house:" Str(aNumber)
;----------------------------------
;----------------------------------
PrintN (" Enter your age!")
aAge = Val(Input())
PrintN( "")
;----------------------------------
;----------------------------------
PrintN (" Enter your name!")
nNname.s = Input()
PrintN(" My Name is: " + nNname)
;----------------------------------
Print(" I am finish! - Press Enter")
Input()
PrintN()
- StarBootics
- Addict
- Posts: 1006
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: PrintN()
Hello,
The fully working code :
By the way please put your code snippets inside a code display.
Best regards
StarBootics
The fully working code :
Code: Select all
;-------------------------Number-Age-Name---------------------------
;EnableGraphicalConsole(#True)
;EnableExplicit
Global nNname.s
Define aAge
Define aNumber
OpenConsole()
;-----------------------------------
PrintN (" Enter your house number!")
aNumber = Val(Input())
PrintN("My house:" + Str(aNumber))
;----------------------------------
;----------------------------------
PrintN (" Enter your age!")
aAge = Val(Input())
PrintN( "")
;----------------------------------
;----------------------------------
PrintN (" Enter your name!")
nNname.s = Input()
PrintN(" My Name is: " + nNname)
;----------------------------------
Print(" I am finish! - Press Enter")
Input()
Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
Re: PrintN()
A new user, 5 posts with 5 questions answered but no response from the user, not even to thank... seems strange to me. 

Re: PrintN()
You're right, I agree, it's helpful to receive some feedback - it's what makes the forum work. I had the same feeling about the recent "Sendmail does not work" post. It would have benefited the forum to know the outcome.Caronte3D wrote: Sat Oct 15, 2022 9:39 am A new user, 5 posts with 5 questions answered but no response from the user, not even to thank... seems strange to me.![]()