Hello, The compiler seems to use a locale dependent way to convert reals to strings and vice versa. Here in Belgium we would write: pi = 3,1415 with a comma,...
Hi All I think Koen is right. The compiler should always use the invariant locale for output when writing for another tool to read. Originally GPCP only used...
John Gough
j.gough@...
Apr 26, 2007 5:28 am
297
I'm currently preparing v2.0, a freeware release of the Component Pascal IDE for .NET 2.0 If anybody would like to try it out and let me know if there are any ...
When generating a CP symbol file from Microsoft.VisualBasic.dll so I could access the SpecialDirectories Class (to access the path of 'My Documents' etc.) I...
... Follow up: I don't need a fix in a hurry. I've just discovered the VB libraries are not actually needed. The special folders can be accessed via the...
Thanks to Chris for the bug report. I'll check it out and post an update. John...
John Gough
j.gough@...
May 18, 2007 4:54 pm
301
... accessed ... Oops! I spoke to soon - I now have a different problem. The following test code: MODULE SpecialFolders; IMPORT Sys := mscorlib_System, CPmain;...
Hi All I am in Redmond for the rest of this week. I will try to find a diagnosis for Chris' problem when I get back. It all looks very mysterious. John...
John Gough
j.gough@...
May 22, 2007 5:30 am
303
If you are converting some existing Win32 code to use with GPCP on .NET the 'Microsoft Win32 to Microsoft .NET Framework API Map' is useful when trying to...
... Thanks Chris! Not much activity here on GPCP... is anyone (besides Chris) here actively using GPCP? And if so, are you using the .NET version or JVM...
v2.0 of the Component Pascal IDE will include 20 or so new simple source code examples for GPCP for .NET. These are aimed at both newcomers to the CP language...
... Thanks Chris! Always good to have more examples... I'm wondering, are there any plans to "pretty up" the imports from the .NET framework? I mean, the...
... I agree. I have never liked underscores anyway, but double- underscores and trailing underscores ...??? I would much prefer to see the usual .NET dotted...
Hi All Ok, I agree with the comments regarding the ugly foreign naming conventions. However, it was originally a hack to get foreign imports going, and now...
John Gough
j.gough@...
Jul 12, 2007 3:31 am
310
... It's amazing how much things improve with the elimination of a few underscores... :-) This is still less than ideal (because of the brackets), but it is...
... instances in import lists, and have a unique syntax taken from the IL ... Yes - that would be an improvement. ... compiler and PeToCps agreed on the name...
You can see a two-part Microsoft video interview with John Gough in Aug 2006 related to his work implementing compilers on the JVM / .NET framework at: ...
Hi Helmut In Component Pascal a literal string is an array of char. The solution is to pass a System.String to the WriteLine rather than this array. Thus ...
K John Gough
john@...
Jul 26, 2007 11:24 pm
315
K John Gough schrieb: Hi Helmut In Component Pascal a literal string is an array of char. The solution is to pass a System.String to the WriteLine rather than...
... Hallo, if i try to setup the new cpisetup.exe i get an error "the operating system is not adequate for running CPIde." Im useing windows 2000 with Dot NET...
... Hi Marc, Thanks for the feedback. Can you think of any more topics for examples that might be useful - particularly to CP newbies or .NET newbies? Regards,...
... Well, you've got a lot of Console output examples, but the only textfile output example I see "Birthdays", and people may not realize that this has...
John, I was looking at the GPCP version history within "GPCPcopyright.cp", and see that from 2000 to 2005, there were multiple new releases of GPCP each year....
Gah! Don't let GPCP development stop! I think this is an excellent language; even though I only understand the simpler parts of it, it is still very pleasant...