Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-05

Is there anyone will answer my questions

6 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

彘

Dear FreePascal,

I have some questions when I am using Free Pascal

> firstly , I find that I Can't use hot-key "Ctrl+N" to add

a new line in the IDE.
and I think the Free Pascal's ide is not very stable, I am using fpc under a MS-DOS 7.1, sometimes when I am editing my sourse code(I chosed Microsoft Convention (Ctrl+X,Ctrl+V,Ctrl+C) ) if I pressed Ctrl+C

sometimes the ide will terminate and said like this: " The ide is terminated , save your soure code and restart the ide"

And sometimes if I use Alt+F and Commend Shell
the ide is still in my sight . Maybe it is because "Out of Memory"?

> secondly, if I want to debug my program when I use "step over F8"

the ide will display the user screen when I press F8. It is not the same as Turbo Pascal. I really dislike it ,but I don't know what to do.

> Tirdly, once I was programming a program (the source code is below)

when I input about 100 data the program occured a error ,then it terminated. I don't why ,and I can't understand the Error Code it gives to me.Can you find my error and fix it for me?

      {=======    The source code is below  ======= }
program ElementTable ;
{this program's purpose is to input The Periodic Table of Element }
type
 yuansu=record
  En_name:string[3];
  mole:real;
  period:1..7;
  group:string[5];
  end;
 var
 i:integer;
 dat:file of yuansu;
 jilu:array [1..112] of yuansu;
 BEGIN
    for i:=1 to 2 do
      jilu[i].period:=1;          (* Here is a input example :*)
    for i:= 3 to 10 do            (* En_name:= 'C'            *)
      jilu[i].period:=2;          (* mole:=12.0107            *)
    for i:= 11 to 18 do           (* period:=2                *)
      jilu[i].period:=3;          (* group:='IVA'             *)
    for i:= 19 to 36 do
      jilu[i].period:=4;
     for i:=37 to 54 do
      jilu[i].period:=5
      for i:=55 to 71 do
      jilu[i].period:=6;
      for i:=72 to 112 do
      jilu[i].period:=7;
   for i:=1 to 112 do
   begin
     write('name:');
     readln(jilu[i].EN_name);     {it terminated when it }
     write('mole:');              { runs to somewhere }
     readln(jilu[i].mole);        { around here}
     write('group:');
     readln(jilu[i].group);
   end;
     assign(dat,'dat.bin');
     {$i-} reset(dat);{$i+}
      if ioresult 0 then
         rewrite(dat);
         for i:=1 to 112 do
         write(dat,jilu[i]);
         close(dat);
         write(' ':10,'OK!');
         readln
 END.

Sincenrely
Andy Scout
2010.4.17

Reply by email

David Emerson
to 彘

First, a descriptive subject header is much appreciated.

As for your IDE troubles, I don't know how many people actually use that old FreeVision-based IDE... many of us use either Lazarus or some other more modern editor. Is there some reason you can't or don't want to try Lazarus?

Tirdly, once I was programming a program (the source code is below)

good of you to include the source!

when I input about 100 data the program occured a error ,then it terminated. I don't why ,and I can't understand the Error Code it gives to me.Can you find my error and fix it for me?

I can't imagine how we could help you without the errors.

The data would definitely be useful too. Lacking that, we can't reproduce the error. The error might even be in your data, which would make it impossible for anyone to detect by just looking at your source.

Cheers,
David

Reply by email

Bart
to 彘: I have some questions when I am using Free Pascal a new line in the IDE. and I think the…

This is the very last time I will answer your post.

This is now the third time you post exactly the same question. Jürgen Hestermann and I have tried answering your questions in your very first post (see:
http://lists.freepascal.org/lists/fpc-pascal/2010-April/024652.html and follow the thread).

You never replied.

In an answer to your second post I referred to our previous answers (http://lists.freepascal.org/lists/fpc-pascal/2010-April/024769.html), also providing you the link to the original answers.

Bart

Reply by email

Jonas Maebe
to Bart

If you post messages to a mailing list without mentioning that you are not subscribed, it's normal that people only reply to the mailing list without CC'ing you (because there is no way that they can know that you won't see their answers to the mailing list). You can read the answers by browsing the mailing list archive at http://lists.freepascal.org/lists/fpc-pascal/

Please subscribe to the mailing list at http://lists.freepascal.org/mailman/listinfo/fpc-pascal so that you will receive future replies to your posts.

Begin forwarded message:

Show quoted text 24 lines
From: Bart Date: 2 May 2010 12:14:10 GMT+02:00 To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] Is there anyone will answer my questions Reply-To: FPC-Pascal users discussions This is the very last time I will answer your post. This is now the third time you post exactly the same question. Jürgen Hestermann and I have tried answering your questions in your very first post (see: http://lists.freepascal.org/lists/fpc-pascal/2010-April/024652.html and follow the thread). You never replied. In an answer to your second post I referred to our previous answers (http://lists.freepascal.org/lists/fpc-pascal/2010-April/024769.html), also providing you the link to the original answers. Bart _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to Jonas Maebe
Jonas Maebe wrote
If you post messages to a mailing list without mentioning that you are not subscribed, it's normal that people only reply to the mailing list without CC'ing you (because there is no way that they can know that you won't see their answers to

The mailing list notifies the poster immediately if they posted to a list they are not subscribed to. If he/she is to stupid to not read and understand that mail, then they should go unanswered, and their original messages should not be allowed through to the mailing list.

It's not that damn difficult to subscribe to a mailing list! You would think a software developer has some intelligence.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Jonas Maebe
to Graeme Geldenhuys
Graeme Geldenhuys wrote 5 lines
On 2 May 2010 12:21, Jonas Maebe wrote: > If you post messages to a mailing list without mentioning that you are not subscribed, it's normal that people only reply to the mailing list without CC'ing you (because there is no way that they can know that you won't see their answers to The mailing list notifies the poster immediately if they posted to a list they are not subscribed to.

No, it doesn't. We don't send out such notices because 99% of the messages held for approval is spam sent with forged from-addresses.

Jonas

Reply by email