[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

[fpc-pascal] Using Pointer : In Free pascal

2014-07-07 Thread mokashe.ram
Hi Guys, I am using a pointer as shown below Locat_Pointer= ^ Locate Locate= Record next:locat_pointer; Code:word; How to assign USer input to pointer variable run time in free pascal Like Below Locate_Pointer^.code:=.?

[fpc-pascal] sample code/example For Reading and writing in Free Pascal

2014-07-04 Thread mokashe.ram
Hi Team, Could any one give me sample code/example on reading user input from screen and writing it to output file (.txt). Thanks Sudarshan -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/sample-code-example-For-Reading-and-writing-in-Free-Pasca

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-03 Thread mokashe.ram
Hi, Its throwing 'Segmentation Error' every procedure whereever 'VideoBuf' is used Actually i am migration my application from TP TO Free pascal for 32 bit OS but i am not able to fix MEM issue. i am totaly blank now please suggest me the soluition to replace MEM/MEMW. PROCEDURE window_o

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread mokashe.ram
ok Thanks ,Tomas -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Segmentation-Error-using-VideoBuf-tp5719293p5719696.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread mokashe.ram
Hi Guys..Please Help Thanks Sud -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Segmentation-Error-using-VideoBuf-tp5719293p5719693.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-02 Thread mokashe.ram
Hi Tomas, I have done all my work with Free pascal but only one error which still i am not able to fix is MEM as i tried all the options which you suggest me (heartly thanks for that) but still i am not Getting exect solution for it.Please see below fully compilable source in free

Re: [fpc-pascal] Can We use CRT and Video Unit in Single Unit In free pascal

2014-06-25 Thread mokashe.ram
Thanks Jeff -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Can-We-use-CRT-and-Video-Unit-in-Single-Unit-In-free-pascal-tp5719636p5719655.html Sent from the Free Pascal - General mailing list archive at Nabble.com. __

Re: [fpc-pascal] Can We use CRT and Video Unit in Single Unit In free pascal

2014-06-25 Thread mokashe.ram
Ok Thanks , Tomas -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Can-We-use-CRT-and-Video-Unit-in-Single-Unit-In-free-pascal-tp5719636p5719654.html Sent from the Free Pascal - General mailing list archive at Nabble.com. __

Re: [fpc-pascal] Can We use CRT and Video Unit in Single Unit In free pascal

2014-06-23 Thread mokashe.ram
Hi Thanks for your help. I have Gone throgh the previous post, (In)compatibility of units Video and Crt is platform (implementation) specific thing. They can be used together without any issues on platforms providing sufficient access to the console. *it mea

[fpc-pascal] Can We use CRT and Video Unit in Single Unit In free pascal

2014-06-23 Thread mokashe.ram
HI, Can We use CRT and Video Unit in Single Unit Simulteneously... Thanks SUD -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Can-We-use-CRT-and-Video-Unit-in-Single-Unit-In-free-pascal-tp5719636.html Sent from the Free Pascal - General mailing list

[fpc-pascal] rewritng function

2014-06-23 Thread mokashe.ram
Hi eveyone, please help me on rewriting below fixing using any other workaround..as i have already gone through my post but still i am not able to fix this MEM issue.this is on ly one issue which i amnot able to fix yet. FUNCTION error_message_already_written : BOOLEAN; BEGIN *e

Re: [fpc-pascal] replacement of MARK and RELEASE function in free pascal

2014-06-19 Thread mokashe.ram
Ok Thanks, Karoly -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/replacement-of-MARK-and-RELEASE-function-in-free-pascal-tp5719624p5719629.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___

Re: [fpc-pascal] replacement of MARK and RELEASE function in free pascal

2014-06-19 Thread mokashe.ram
Ok thanks, but using untyped pointer how to mention size in GETMEM()? * GETMEM(markexam,'' ");* Thanks Sudarshan -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/replacement-of-MARK-and-RELEASE-function-in-free-pascal-tp5719624p5719626.ht

[fpc-pascal] replacement of MARK and RELEASE function in free pascal

2014-06-19 Thread mokashe.ram
Hi, Can any one help me on raplacement of MARK and RELEASE function in free pascal... var markexam: pointer; // untyped pointer begin ... * mark(markexam); . Release(markexam);* end; Thanks, Sud -- View this message in con

Re: [fpc-pascal] Error:Operator Is not oberloaded in Free pascal

2014-06-18 Thread mokashe.ram
Thanks, Now i got where did i made misake it should be *if terminal_bonus[1] > 0 then* thanks Sud -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Error-Operator-Is-not-oberloaded-in-Free-pascal-tp5719614p5719620.html Sent from the Free Pascal - General ma

Re: [fpc-pascal] Error:Operator Is not oberloaded in Free pascal

2014-06-18 Thread mokashe.ram
Thanks Jonas, But already THis code is running in Turbo pascal and i am migrating TP application to Free pascal. so please suggest the solution. Thanks -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Error-Operator-Is-not-oberloaded-in-Free-pascal-tp5719

[fpc-pascal] Error:Operator Is not oberloaded in Free pascal

2014-06-18 Thread mokashe.ram
Hi EveryOne, can any one help me on below issue, as in have one variable of type ARRAY, see below * bonus_details_record = RECORD terminal_bonus : ARRAY[1..2] OF REAL;* IF terminal_bonus > 0 THEN* as above statement is possible in Turbo pascal

[fpc-pascal] Illeagal assignment to For Loop variable in Free pascal

2014-06-17 Thread mokashe.ram
Hi, Could Any one help me for fixing below error in free pascal. as i am tring to excute for loop in decemental order using 'DOWNTO' but its thwoing error 'Illeagal assignment to For Loop variable 'Counter' as this is possible in TP but in Free pascal its not working so is there any workaround for

Re: [fpc-pascal] equivalent/workaround for $B800 In free Pascal

2014-06-16 Thread mokashe.ram
Thanks Tomas -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/equivalent-workaround-for-B800-In-free-Pascal-tp5719589p5719592.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal

[fpc-pascal] equivalent/workaround for $B800 In free Pascal

2014-06-16 Thread mokashe.ram
Hi Every One, It used to be possible (Turbo Pascal version 7.0 for DOS)to access screen memory using $B800 Is there an equivalent/workaround using Free Pascal version 2.6.4 ? Thanks, Sudarshan -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/equivalen

[fpc-pascal] Disabling the MIN, MAX, Close icon of EXE in free pascal

2014-06-03 Thread mokashe.ram
Hi Everyone, could anyone help me on disabling the MIN,MAX,Close icon of EXE in free pascal. Thanks, sudarshan -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Disabling-the-MIN-MAX-Close-icon-of-EXE-in-free-pascal-tp5719494.html Sent from the Free Pascal - G

Re: [fpc-pascal] replacement of MemAvail and MaxAvail

2014-05-30 Thread mokashe.ram
Ok Thanks Michael ... Thanks, Sudarshan Mokashe -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/replacement-of-MemAvail-and-MaxAvail-tp5719435p5719440.html Sent from the Free Pascal - General mailing list archive at Nabble.com. __

Re: [fpc-pascal] replacement of MemAvail and MaxAvail

2014-05-30 Thread mokashe.ram
Thanks For Your This Prompt Reply... but in promgram these functions are already used in my applcation developed in TP7, sonow i am migration this applcation to free pascal. how can i replace using free pascal? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/r

[fpc-pascal] replacement of MemAvail and MaxAvail

2014-05-30 Thread mokashe.ram
Hi Could any one help me on the replacement of MemAvail and MaxAvail function in free pascal 32 bit OS(windows 7). Thanks, Sudarshan Mokashe -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/replacement-of-MemAvail-and-MaxAvail-tp5719435.html Sent from the Fre

[fpc-pascal] Drawing window out line

2014-05-22 Thread mokashe.ram
Hi , Could Any One help Me to writing Horizontal and vertical line to message window in Free Pascal as i MEM and MEMW function not supported in free pascal. note : we can not use Video and CRT Unit both in single unit. i want to use CRT unit only. below is the my sample code PROCEDURE draw_wi

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-05-20 Thread mokashe.ram
Thanks for Your Help, But facing the same issue using the last post code :) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Segmentation-Error-using-VideoBuf-tp5719293p5719302.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___