Lazarus

Free Pascal => Unix => Topic started by: TheNoob on October 04, 2017, 05:55:18 pm

Title: I enter any value in the and it takes me
Post by: TheNoob on October 04, 2017, 05:55:18 pm
Hi, first, sorry for my bad english.

I compile the code with fpc and when i execute and enter any values example where does a real have to go entry one word, and take, the truth is that I do not know how to explain it  %)

the question is if there is any parameter in fpc that I must enter when compiling.




Title: Re: I enter any value in the and it takes me
Post by: molly on October 04, 2017, 07:00:00 pm
Hello TheNoob,

Indeed your English words are very difficult to understand for me. Don't worry, as usually there is a way to communicate  :) (have you considered that there might be other 'foreign' developers that post here, and who perhaps speak your native tongue)

I am guessing that when you run your program and enter a value that your program crashes. If that is more or less what is happening then please make a screen shot of your output and post it for us so that we can take a look.

Even better would be if you would be able to post the source of your program and tell what it is what you entered to let your program crash.

the question is if there is any parameter in fpc that I must enter when compiling.
Usually there is no need to supply a parameter to the FPC compiler for compilation, unless you have very specific needs.
Title: Re: I enter any value in the and it takes me
Post by: Noodly on October 04, 2017, 07:02:16 pm
Also try explaining the problem in your native language and use Google translate.
Title: Re: I enter any value in the and it takes me
Post by: molly on October 04, 2017, 07:05:36 pm
Also try explaining the problem in your native language and use Google translate.
Excellent suggestion !  :)
Title: Re: I enter any value in the and it takes me
Post by: Martin_fr on October 04, 2017, 09:22:29 pm
Are you trying to use
Code: Pascal  [Select][+][-]
  1. readln(value)
?

If yes, and if you use Windows, then use "-WC" to compile.

In Lazarus: Go to Menu > Project > Project Options.
Then "Config and Target"
See image
TinyPortal © 2005-2018