Re: [fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-12 Thread James Mills
On Fri, Sep 12, 2003 at 11:09:28AM -0700, Alan Mead wrote: Is this something demonstrable in a small program? I could rewrite another version of the cgi app with a simple html to post data containing . I'll try and do that tonight and post it. cheers James -- - -Zero Defect Software Engineers

Re: [fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-12 Thread James Mills
On Fri, Sep 12, 2003 at 06:34:16PM +0200, [EMAIL PROTECTED] wrote: On Sat, 13 Sep 2003, James Mills wrote: Hi all again, I'm reposting this question as I would like to find some answers to this problem, or writing this particular kind of CGI App will be impossible. (Forum). I

Re: [fpc-pascal]CR / CRLF problem when redirecting to file

2003-09-14 Thread James Mills
and stdout with FPC. I'm not sure why either :) Log files can sometimes get really ugly with CRLF's appearing where they shouldn't be (seeing as it's linux not msdos) Perhaps it's a bug ? cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct

Re: [fpc-pascal]CR / CRLF problem when redirecting to file

2003-09-14 Thread James Mills
but a similar thing happens. Go figure :) cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use the tape. ___ fpc-pascal

Re: [fpc-pascal]Fast answers in the mailing list

2003-10-02 Thread James Mills
On Thu, Oct 02, 2003 at 07:50:15PM +0800, Andy Sy wrote: Woah... those answers sure are coming in fast! Am I on IRC? :-) When you have a good email client like 'mutt' and are online a lot of the day, you can expect replies in (almost) real-time :) hehe cheers James -- - -Zero Defect Software

[fpc-pascal]Cross-Compiling Debian/Linux - FreeBSD

2003-10-07 Thread James Mills
Hi, Is there an easy way of cross-compiling other than what Im currently doing (using a shell account), to cross-compile from Debian/Linux to FreeBSD ? If there is, I will need a step-by-step instruction, as I've never done it before without the need for a different machine. cheers James

Re: [fpc-pascal]Cross-Compiling Debian/Linux - FreeBSD

2003-10-08 Thread James Mills
On Wed, Oct 08, 2003 at 11:02:45AM +0200, Marco van de Voort wrote: Is there an easy way of cross-compiling other than what Im currently doing (using a shell account), to cross-compile from Debian/Linux to FreeBSD ? There are certainly ways, and you are in luck, I just did this last

Re: [fpc-pascal]GTK: multiline label

2003-10-09 Thread James Mills
gtk_label_new('Line1' + #13 + 'Line2'); work? Probably only for Linux/Unix cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use the tape

Re: [fpc-pascal]gpm library compiled by default ?

2003-10-22 Thread James Mills
NOGPM defined (or even with NOMOUSE defined since you don't use mouse at all). I think I do use the KeyBoard unit. So I could compile it with fpc -dNOMOUSE ? cheers James -- -Zero Defect Software Engineers Group - ZDSEG - -Web: http://daisy.ods.org/ -Wiki: http://daisy.ods.org/~prologic/wiki

Re: [fpc-pascal]gpm library compiled by default ?

2003-10-23 Thread James Mills
with this option makes no difference. It will still compile and require the gpm library. Any other suggestion ? IHMO, A console app that just uses the KeyBoard should not need the gpm library in it's binary :) cheers James -- -Zero Defect Software Engineers Group - ZDSEG - -Web: http

Re: [fpc-pascal]gpm library compiled by default ?

2003-10-24 Thread James Mills
have the sources to recompile. I'll just stick with the main stream version :) People that use my console programs are just gonna have to have the gpm library installed now aren't they :) cheers James -- -Zero Defect Software Engineers Group - ZDSEG - -Web: http://daisy.ods.org/ -Wiki: http

Re: [fpc-pascal]How to daemonize a program?

2004-01-11 Thread James Mills
On Sun, Jan 11, 2004 at 07:06:35PM -0500, Paul Aviles wrote: Hello all, I know I can start a program with at the end and will run in the background. Is there a way to do this without the symbol in Linux? have a look at the daemon.pp example in the examples. cheers James

Re: [fpc-pascal]quick question

2004-03-04 Thread James Mills
was created'); close(ftb); end; end; whats wrong with the code. i get the following error on compile. botlog.pp(25,4) Error: Identifier not found exists Try: FileExists cheers James -- - -ShortCircuit Services -URL: http://www.shortcircuit.net.au -WIKI: http://wiki.shortcircuit.net.au

[fpc-pascal]Developers needed (interested?)

2004-03-14 Thread James Mills
at http://wiki.shortcircuit.net.au/SAF/ The current name is temporary only and may change... If you would like to help out and join the project team, please email either: James Mills (myself) - [EMAIL PROTECTED] or Jeremy Whyatt - [EMAIL PROTECTED] Thank you for taking an interest :) cheers James

Re: [fpc-pascal]FPC Version 1.9.4 released.

2004-06-02 Thread James Mills
On Wed, Jun 02, 2004 at 03:40:38PM +0200, Michael Van Canneyt wrote: And PIC (Position Independant Code) generation is working too ? No. See the roadmap: scheduled for 1.9.6 Excuse me ignorance. I don't beleive I know what PIC is... What is PIC ? cheers James -- -ShortCircuit Services

[fpc-pascal]ProceList/Quote Program (ncurses)

2004-07-11 Thread James Mills
. Q: Is there anything out there that'll make it easier to design the windows/screen ? Q: Has anyone written a similar program that I can learn from ? cheers James -- -ShortCircuit Services -WIKI: http://wiki.shortcircuit.net.au -IRC: http://wiki.shortcircuit.net.au/IRC/ -IRC: (/server

Re: [fpc-pascal]ProceList/Quote Program (ncurses)

2004-07-12 Thread James Mills
library ? vs. Learning Turbo Vision which I've never used... Is Turbo Vision more complicated than ncurses ? cheers James -- -ShortCircuit Services -WIKI: http://wiki.shortcircuit.net.au -IRC: http://wiki.shortcircuit.net.au/IRC/ -IRC: (/server shortcircuit.net.au) - -Problems are Solved by Method

Re: [fpc-pascal]ProceList/Quote Program (ncurses)

2004-07-12 Thread James Mills
and there, but that will pay itself back on a larger project. Specially if you have no gigantic requirements on terminal independance. I might do this then since this is only a small Terminal app, and I might learn a few things along the way :) cheers James -- -ShortCircuit Services -WIKI: http

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-22 Thread James Richters
What I need to do is be able to read some 5v TTL Inputs in and write some 5v TTL outputs out. The parallel port always worked when my program was a DOS program.. it was so simple, just do Port[$378]:= data to set the bits on the port or data:=port[$378] to read some bits from the port. I'm not

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Textmode IDE splitscreen? Am 25.07.2016 22:52 schrieb "James Richters" <ja...@productionautomation.net <mailto:ja...@productionautomation.net> >: > I've tried Lazarus, for some rea

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-26 Thread James Richters
>An alternative would be NtDelayExecution from unit jwanative. Its interval argument is in multiples of 100ns >and is essentially what Windows' Sleep() uses internally. >Note: The first argument "Alertable" determines whether the function can be interrupted by NtAlertThread >(and whatever Windows

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-26 Thread James Richters
...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Dmitry Boyarintsev Sent: Tuesday, July 26, 2016 1:05 PM To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Microsecond Delay Suggestions? On Tue, Jul 26, 2016 at

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-27 Thread James Richters
uk/downloads/inpout32/ I am able to control the parallel port directly under Windows 7 Professional on this motherboard https://www.amazon.com/gp/product/B00IW99S4A It has on board parallel port on a header. James ___ fpc-pascal maillist -

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-27 Thread James Richters
ks, that does look like it would take care of the issue for me. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-27 Thread James Richters
>>FWIW, I ported the library to fpc, together with the test/demo software >>(x_pigpiod_if2). >>The fact that the communication goes via the network opens >>possibilities though. I tested my port on my laptop, connected to the >>pi. So applications running on a remote PC could control the pi's

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-26 Thread James Richters
Thank You I found the sleep procedure Thank you for explaining that it was looking for a pointer, that was helpful. A little cutting and pasting and now I have 3 more ways to sleep... Sleep_S will probably be sufficient and is the most flexible, because if you have 1,000,000,000 seconds you

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
ight be possible to the code quite easily. In the hope it could lead to an improvement of the go32v2 IDE, Pierre Muller > -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] De la part de James Richters Envoyé : >

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-22 Thread James Richters
. -Original Message- From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Mark Morgan Lloyd Sent: Friday, July 22, 2016 10:19 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows James

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-22 Thread James Richters
Thank you! I was indeed trying to use the 64bit DLL.. I mistakenly thought you were supposed to use the version of the operating system, not the program. I have absolutely zero experience with windows programs. I am able to run my program now, but still not working exactly as I want it to

[fpc-pascal] Linux Port help

2016-07-22 Thread James Richters
I'm a newbie trying to port an old turbo pascal program to FreePascal in linux. My reasons for doing this is old Pentium 233 motherboards are getting harder to keep running and I need be running on more modern hardware.. It's a massive program and I just don't have time to re-write the whole

Re: [fpc-pascal] Linux Port help

2016-07-22 Thread James Richters
: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Graeme Geldenhuys Sent: Friday, July 22, 2016 4:28 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Linux Port help On 2016-07-22 20:59, James Richters wrote: > 4. not full scr

[fpc-pascal] Could Not Set Breakpoint - Why not?

2016-07-27 Thread James Richters
I can't seem to set any breakpoints at all with FreePascal 3.0.0 with the text IDE. Does anyone have any idea why this could be? I have even tried to set a breakpoint in a ridiculously simple program like: Program Test; Begin Writeln; End. I am able to single step through my programs

Re: [fpc-pascal] Linux Port help

2016-07-22 Thread James Richters
Subject: Re: [fpc-pascal] Linux Port help On 2016-07-22 23:33, James Richters wrote: > Here are screenshots: > https://github.com/Zaaphod/FPC-Parallel-Port/issues/1 I just checked. My FreeBSD version looks like the Windows screenshot. Also under Linux, load the IDE, then go to O

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-22 Thread James Richters
[mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Mark Morgan Lloyd Sent: Friday, July 22, 2016 5:39 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows James Richters wrote: I was rather rushed earlier for reasons that would

Re: [fpc-pascal] Linux Port help

2016-07-22 Thread James Richters
22, 2016 6:18 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Linux Port help On 2016-07-22 21:38, James Richters wrote: > Linux is just all yellow on light blue. The windows one for example > will show comments in grey reserved words in white.. ect.. > it makes it a l

[fpc-pascal] Textmode IDE splitscreen?

2016-07-24 Thread James Richters
Is there a way to get the textmode IDE to do splitscreen the way Turbo Pascal used to if you had both a color and monochrome monitor? It was very handy to trace through the source code on the monochrome monitor and watch it execute on the other one.. It prevented all the screen flashing when it

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-24 Thread James Richters
Bo, I also have a raspberry pi project.. I got a hifi-berry card for it and it is streaming audio to a central audio system, I'm using VLC media player and an app on my cell phone to control it, I have not made use of the GPIO on them yet, but I would really like to learn how this can be

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
>If you are using Windows, you can compile the IDE in FPC trunk with gdb/mi support, >which works by opening your program in a new console window, so it gets the effect >you want already under Windows. Lazarus also does the same thing, if you don't mind >using a newer IDE. I'm using Windows,

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
, James Richters wrote: > The TurboPascal version used to write to B800-B7FF for the monochrome > monitor and A000-AFFF for the color monitor, the IDE was always on > monochrome and the program executing was always on color... that's how > it worked, No, it didn't. The monochrom

[fpc-pascal] Microsecond Delay Suggestions?

2016-07-26 Thread James Richters
Any Suggestions for a microsecond delay? I had a scheme in my old dos program where I would run a massive loop at the beginning of my program and time it with DOS 55mS ticks, then do the math and figure out how many times I needed to loop for a given delay.. worked great on DOS with nothing

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-26 Thread James Richters
That looks great. I’ll give it a try! Thank you very much for the suggestion and the example From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Dmitry Boyarintsev Sent: Tuesday, July 26, 2016 11:45 AM To: FPC-Pascal users

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-26 Thread James Richters
[mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Dmitry Boyarintsev Sent: Tuesday, July 26, 2016 11:19 AM To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Microsecond Delay Suggestions? On Tue, Jul 26, 2016 at 11:16 AM, James Richter

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-23 Thread James Richters
400, James Richters wrote: > > I'm trying to avoid custom hardware if possible. I have always used > > parallel ports and never had a problem with them until now. I like the > > idea of a parallel port because they are still built onto motherboards, and > > there are also a

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-23 Thread James Richters
Santhoff Sent: Saturday, July 23, 2016 1:09 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows On Sa, 2016-07-23 at 05:55 +0200, Marc Santhoff wrote: > On Fr, 2016-07-22 at 18:20 -0400, James Richters wrote: > > I'm trying to avo

Re: [fpc-pascal] windows graph unit questions

2016-08-17 Thread James Richters
ns Hi, the beauty about free open source is that you can search the sources: > -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] De la part de James Richters Envoyé : > mercredi 17 août 2016 14:42 À : 'FPC-Pascal

[fpc-pascal] windows graph unit questions

2016-08-17 Thread James Richters
I have a few questions about using the graph unit with windows. 1.Is there any way to get rid of the bar at the top that says 'graph window application' I don't need it or want it, I want the user locked into my program full screen until they exit it 2. If there is no way to

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-22 Thread James Richters
of my procedure without running it since it’s a single thread console application. James From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Santiago A. Sent: Wednesday, February 22, 2017 3:48 AM To: FPC-Pascal users discussions <

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-22 Thread James Richters
13:17, James Richters wrote: > No other programs on the system ever access this file Not even virus scanners? Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/f

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-22 Thread James Richters
users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] FreePascal Windows - Force files to write to disk El 22/02/2017 a las 13:17, James Richters escribió: The error I get is when trying to open the file to read it. It’s something like read past end of file, b

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-24 Thread James Richters
as well, and exclude it from virus checkers. When I read the file I can verify the MD5sum and if that test fails, I'll just automatically try the backup, If that also fails the MD5sum I'll notify the user. Thanks again for all the help James -Original Message- From: fpc-pascal-boun

[fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-21 Thread James Richters
save the file all the way to disk and close it. Thanks for any advice on this James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Finding Unsed Variable, Procedures, & Functions

2016-09-03 Thread James Richters
Is there any way to quickly identify unused variables, procedures & functions within a large project? I'm using FPC 3.0.0 with textmode IDE ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] WinCRT vs CRT

2016-09-08 Thread James Richters
imited. Does anyone have any idea why this is happening or if there is another way to get keyboard input on the graph window and be able to use the entire keyboard? Any help is greatly appreciated! James ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] pull request: Add missing CTRL keys to wincrt unit

2016-09-13 Thread James Richters
That was me, Sorry about that, I did not realize it was a read only repository, I downloaded a fork of it to my desktop a while ago, so when I had a proposed change to it, I just made a pull request the way I normally do with git projects. I have posted the issue here:

Re: [fpc-pascal] Reed-Solomon algorithm

2016-09-15 Thread James Richters
I was able to use a C library by creating the following unit, the hardest part was getting variable types to match. Perhaps this example of linking a C library to Free Pascal will help. James Unit InpOut32; Interface Function IsInpOutDriverOpen:Boolean;{$Ifndef Win32} cdecl

Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-21 Thread James Richters
I use notepad++ Vertical editing ALL THE TIME, you cannot do vertical editing effectively with a proportional font. For those who aren't familiar with it, you can hold down ALT and highlight many lines vertically making a very tall cursor, you can then start typing and what you type will be

Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-21 Thread James Richters
>IOW I don't like editors that store in formats that are nearly useless in other editors. I total agree with this statement, proportional editors are only good if you are the only one who will ever look at the code, if anyone else EVER looks at it, it's just a giant mess, you can't put snippets

Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-22 Thread James Richters
The problem with your example "text_with_tabs_Input-Sans_proportional_font_and_ET.png" is that the underscores and the word Range and the brackets are all out of alignment, even though everything is re-aligned again with the := I prefer the array elements to also be aligned as well. In my

Re: [fpc-pascal] Readln a password

2016-11-27 Thread James Richters
I would like to mention that if you store your password in a constant like this: const password='mypassword' then if someone edits your exe file with any text editor, your password will be in there as text and easy to find. I have used this method to get around this... I store a huge string

Re: [fpc-pascal] Readln a password

2016-11-27 Thread James Richters
Here is how I read passwords... it generates a random character and displays that so someone looking over your shoulder things those characters are the password It uses readkey which does not display on the screen, one character at a time Function Readpw:String; Var Pwstring : String;

Re: [fpc-pascal] Readln a password

2016-11-27 Thread James Richters
Shouldn't an extremely basic function like readkey be cross-platform? -Original Message- From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Michael Van Canneyt Sent: Sunday, November 27, 2016 12:07 PM To: FPC-Pascal users

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-23 Thread James Richters
with a space in the file name and it worked fine without “ It appears The function must put “ around it for you. James From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Sandro Cumerlato Sent: Thursday, March 23, 2017 1:30 AM To: FPC-Pascal users discussions

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-21 Thread James Richters
written to the disk and my 'power failure' is not affecting the data at all, but on the SSD, it's still just a correct length file of 00s Does anyone know of a way to force critical data to be written to a SSD so it's not lost during a power failure? James -Original Message- From

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-22 Thread James Richters
use DeleteFile() to delete the previous backup and Rename() to rename the files or is there a better way? Will I need to do something for commit the rename to disk? Thanks for the help with this James -Original Message- From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-22 Thread James Richters
single quotes and double quotes around the file names. Thanks James Uses Serial,Windows,jwanative,sysutils; Procedure Copy_Backup_Rename(CBR_Filename:String); var fileSource, fileDest: string; resultsofit : Boolean; Begin fileSource := chr(39)+Prog_Drive+Prog_Path+'\'+CBR_Filename

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-22 Thread James Richters
will end up saving them. I guess if I did that I could run my entire program from a ram drive and save some SSD activity and only copy the important files back to the SSD and only when they actually change. James -Original Message- From: fpc-pascal [mailto:fp

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-21 Thread James Richters
a real solution that would force my files all the way to disk on my own without depending on the system being configured a certain way. I really need these tiny files to survive power failures. Thanks for any advice on how to do this James -Original Message- From: fpc-pascal-boun

Re: [fpc-pascal] Windows API SendMessage()

2017-08-11 Thread James Richters
does not wake the display Simulating the Keyboard with Keybd_Event(VK_Shift,1,0,0); does wake up the display James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] FPC IDE generating Sig291

2017-08-11 Thread James Richters
constantly until I exit it and restart it, then it acts normal again, letting me click to position the cursor without error. Does anyone have any idea what might be causing this? I really prefer the text IDE to any other method with FPC. James

Re: [fpc-pascal] Windows API SendMessage()

2017-08-10 Thread James Richters
le to get them to work in a freepascal console application. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] If vs case or something else?

2017-07-07 Thread James Richters
and figure out what to do based on the string value and it seems this would save a lot of time. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Fixed record files

2017-07-09 Thread James Richters
,EA:Double; End; I don't understand "packed record" could you elaborate? James -Original Message- From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Ched Sent: Sunday, July 09, 2017 12:01 PM To: FPC-Pascal users discussions &

Re: [fpc-pascal] Fixed record files

2017-07-09 Thread James Richters
GC: Word; PX,PY,PZ,GX,GY,GZ,GI,GJ,R,SA,EA:Double; End; {$PackRecords default} Or am I not understanding this correctly? James From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Vojtech Cihák Sent: Sunday

[fpc-pascal] Fixed record files

2017-07-09 Thread James Richters
-writing the entire new file in the desired order? James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-07-24 Thread James Richters
commit/b96f7208f079d4e2fe208ba5ac464f8f6808d79b https://github.com/Zaaphod/ptcpas/tree/Compiled James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Running Freepascal programs on other computers

2017-06-28 Thread James Richters
indows-exe-file Thank you for the link, that does help explain things and gets me pointed in the right direction. James From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Snorkl e Sent: Wednesday, June 28, 2017 1:51 PM To: FPC-Pascal users discussi

Re: [fpc-pascal] Can't close and reopen ptcgraph

2017-06-28 Thread James Richters
>add ptcwrapper to uses list. Thank you, that worked! James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Can't close and reopen ptcgraph

2017-06-28 Thread James Richters
I thought I would try to get my demo program to work. When I try to compile it with //manually create the ptcwrapper thread PTCWrapperObject := TPTCWrapperThread.Create; I get reopengraph.pas(32,23) Error: Identifier not found "TPTCWrapperThread" Demo program below... Any ide

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-28 Thread James Richters
... but if it's already available somewhere I might as well use what's done already. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-29 Thread James Richters
I defined a static array to convert the mode 13h VGA palette to separate red, green and blue to send to aggpas as well as the packed RGB565 format needed to send to ptcgraph 16bit colors. James Type VGARGBRec= Record R,G,B:Byte; RGB:Word; end; Const VGA256: Array[0..255

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-07-04 Thread James Richters
I defined a static array to convert the mode 13h VGA palette to separate red, green and blue to send to aggpas as well as the packed RGB565 format needed to send to ptcgraph 16bit colors. James Type VGARGBRec= Record R,G,B:Byte; RGB:Word; end; Const

[fpc-pascal] If vs case or something else?

2017-07-06 Thread James Richters
to handle this? Any advice on this is greatly appreciated James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-29 Thread James Richters
strInt( (p^ shr 8 ) and $F8 , (p^ shr 3 ) and $FC , (p^ shl 3 ) and $F8 ); end; James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Running Freepascal programs on other computers

2017-06-28 Thread James Richters
this is normally achieved, and how to implement this with my freepascal console applications? James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Windows API SendMessage()

2017-08-09 Thread James Richters
. sleep(1); Writeln('Turning On Display'); SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, -1); Writeln('Display is On'); End. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] Pascal support in the Kattis educational site

2017-08-18 Thread James Richters
veness of documentationetc. the best program isn't necessarily the one that executes fastest... Which is a 'better' program: program A that executes in 0.00018s that uses 1MB of RAM or Program B that executes in 0.00016s that uses 100MB of RAM James ___ fpc-

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
Thanks for the help and advice with this. I've been trying to figure out how a lot of this works. Here's where I'm at >You could try the units ptcgraph or sdlgraph as alternatives (both are part of >FPC). These seemed like the easiest things to start with. ptcgraph: I'm having 2 issues

[fpc-pascal] FPC 64bit for windows

2017-05-15 Thread James Richters
based IDE to compile my program. When I try to install 64 bit windows version, I don't have this anymore, is It possible to use the text based IDE to compile 64 bit programs or do I need to learn how to do it from the command line? Any advice is appreciated James

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
: [fpc-pascal] FPC Graphics options? On 2017-05-15 11:51, James Richters wrote: ication to be a 64bit > application. I have installed > 'fpc-3.0.2.i386-win32.cross.x86_64-win64.exe' but I don't see any > fp.exe to run so I'm a bit lost with it. Yes, I don't know why the Free Pascal tea

[fpc-pascal] FPC Graphics options?

2017-05-11 Thread James Richters
I have a few console graphics applications that I originally wrote in Turbo Pascal that I have been able to convert over to Free Pascal and now have windows versions of these programs. I notice that unless I run my program on a 3.5GHz machine or faster, the graphics are fairly slow.By slow, I

[fpc-pascal] ptcgraph issues

2017-05-17 Thread James Richters
() to get it back takes a very long time. Then when I eventually get the window back, it no longer responds to the keyboard. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
to aggpas to my directories so it is finding them and using them. I can trace into the program and I see it is going into aggpas units, but I do not get any graphical window, I don't get any errors either, it just runs and exits. James -Original Message- From: fpc-pascal [mailto:fpc-pascal

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
options? On 05/15/2017 11:25 PM, Nikolay Nikolov wrote: > > > On 05/15/2017 01:51 PM, James Richters wrote: >> Thanks for the help and advice with this. I've been trying to figure >> out how a lot of this works. Here's where I'm at >> >>> You coul

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
my 217 error was, it just happened to be the only time I right justified something, but it was actually in a unit where I neglected to change graph to ptcgraph, and that caused the error. Thanks again for the help, this is a great quick fix and huge performance gain. James -Original

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
Geldenhuys Sent: Monday, May 15, 2017 6:05 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] FPC Graphics options? On 2017-05-15 20:50, James Richters wrote: > see it is going into aggpas units, but I do not get any graphical > window, I don't get any errors either, it just runs and

Re: [fpc-pascal] FPC 64bit for windows

2017-05-15 Thread James Richters
: Re: [fpc-pascal] FPC 64bit for windows On 2017-05-15 11:59, James Richters wrote: > When I try to install 64 bit windows > version, I don't have this anymore The Free Pascal project, for some weird reason, only ships a 64-bit Windows cross-compiler. So you need both the 32-bit and 64-bit in

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
I have managed to get ptcgraph and ptccrt to work with my program and I can report that there is an AMAZING increase in graphics performance! It is pretty much a drop in replacement and I did not change any compiler settings. I did have to make a few minor changes to get it to work, not

Re: [fpc-pascal] FPC Graphics options?

2017-05-16 Thread James Richters
d put status information up there, but if not possible then a one time custom title bar name would be great. James From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Sven Barth via fpc-pascal Sent: Tuesday, May 16, 2017 2:00 AM To: FPC-Pascal users discussions

Re: [fpc-pascal] FPC Graphics options?

2017-05-15 Thread James Richters
- From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Graeme Geldenhuys Sent: Monday, May 15, 2017 10:52 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] FPC Graphics options? On 2017-05-15 15:45, James Richters wrote: > I did appreciate how much bette

Re: [fpc-pascal] ptccrt missing keys

2017-06-12 Thread James Richters
m somehow? I haven't tried compiling this yet, I'm still using r715. I thought I would ask if it was ready first. Thanks, James -Original Message- From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Nikolay Nikolov Sent: Sunday, May 28, 2017 9:52 AM To: f

<    1   2   3   4   5   6   7   8   >