[fpc-pascal] getting "No Debugger Support Available" In DosBox

2014-07-16 Thread mokashe.ram
Hi EveryOne, I am trying put breakpoint in Free pascal unit file opened in DosBox but i am getting message "No Debugger Support Available" As i am very beginer of using DOSBOX. so could anyone help me to how set breakpoints or debug the free pascal unit using DosBOX. Thanks Sud -- V

Re: [fpc-pascal] got "untyped" expected ""

2014-07-16 Thread Marco van de Voort
In our previous episode, Howard Page-Clark said: > > begin > >button:=TSpeedButton.Create(self); > >button.OnClick:=SpeedButton1Click(button); > > There are two errors. > > button should be a field in the TForm1 class. Declared as a local > variable it will be inaccessible after CreateBu

Re: [fpc-pascal] got "untyped" expected ""

2014-07-16 Thread Jonas Maebe
On 15/07/14 20:56, rupert THURNER wrote: var button: TSpeedButton; begin button:=TSpeedButton.Create(self); button.OnClick:=SpeedButton1Click(button); // gives error: // unit1.pas(121,19) Error: Incompatible types: got "untyped" expected "" You are calling the function SpeedButt

Re: [fpc-pascal] got "untyped" expected ""

2014-07-16 Thread Howard Page-Clark
On 15/07/2014 19:56, rupert THURNER wrote: type TForm1 = class(TForm) procedure SpeedButton1Click(Sender: TObject); procedure TForm1.SpeedButton1Click(Sender: TObject); procedure TForm1.CreateButton(t: Integer;l: Integer;btext: String; machine: String); var button: TSpeedButton; beg

[fpc-pascal] Debug GO32V2 program in DosBox

2014-07-16 Thread marnev
Hi Everyone can any one help me on how to Debug Go32v2 program in dox box? also i am facing the issue of text which looks like corrupted after runing application. will be very thankful. Thanks, vaibhav -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Debug-GO3

Re: [fpc-pascal] go32v2

2014-07-16 Thread marnev
ok thanks. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/go32v2-tp5719755p5719758.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.

[fpc-pascal] got "untyped" expected ""

2014-07-16 Thread rupert THURNER
hi, what am i doing wrong with lazarus 1.2.2 to get the error "untyped" expected "", see below when assigning "OnClick". type TForm1 = class(TForm) procedure SpeedButton1Click(Sender: TObject); procedure TForm1.SpeedButton1Click(Sender: TObject); procedure TForm1.CreateButton(t: Integer;l