Re: [fpc-pascal] Using Pointer : In Free pascal

2014-07-07 Thread Mark Morgan Lloyd
mokashe.ram wrote: 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

Re: [fpc-pascal] Using Pointer : In Free pascal

2014-07-07 Thread Tomas Hajny
On Mon, July 7, 2014 09:22, mokashe.ram wrote: Hi Sud, 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

[fpc-pascal] Using a custom fpc.cfg

2014-07-07 Thread luciano de souza
Hello all, In my application, I want to use a custom fpc.cfg. As I work only with commandline tools, this is an important file for me. I have used fpcmkcfg to generate a brand new fpc.cfg. In my application, I have a directory for configuration files. I thought in placing fpc.cfg there in stead

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-07 Thread Karoly Balogh (Charlie/SGR)
Hi, On Mon, 7 Jul 2014, luciano de souza wrote: What I want to know is: is there a commandline parameter to specify a new name or, at least, a new directory to fpc.cfg file? There's an environment variable called PPC_CONFIG_PATH you can set to tell the compiler the new config location. It's

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-07 Thread Jonas Maebe
On 07 Jul 2014, at 11:10, luciano de souza wrote: What I want to know is: is there a commandline parameter to specify a new name or, at least, a new directory to fpc.cfg file? -n @/full/path/to/fpc.cfg The first parameter instructs the compiler not to load the default fpc.cfg file, the

Re: [fpc-pascal] Segmentation Error using VideoBuf

2014-07-07 Thread Tomas Hajny
On 3 Jul 14, at 3:44, Tomas Hajny wrote: On Wed, July 2, 2014 14:32, mokashe.ram wrote: Hi again, 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)