Hi all, I noticed that if I assign a System.String to NIL, the code will crash with an error in RTS.dll. I'm wondering if this is a GPCP bug, of I am...
425
cfbsoftware1
Jul 2, 2009 12:29 am
... There is no problem assigning NIL to str, but there certainly is a problem if you then try to access that variable. Efectively you are telling the system...
426
Marc Martin
marcmartin2
Jul 2, 2009 1:48 am
... Yes, in the original code, this was part of an initialization sequence. The debugger claims that the crash happens with the assignment, not with an access....
427
cfbsoftware1
Jul 2, 2009 2:42 am
... Sorry, my mistake, I misread your original message. Your question makes a lot more sense to me now! You are right - it shouldn't crash when you assign: str...
428
Stephen Harris
sharris1_us
Jul 4, 2009 3:04 pm
For what it's worth, I think CP is a terrific programming language and I hope you gents continue to develop and enhance it. My only regret w.r.t. CP is that...
429
Marc Martin
marcmartin2
Jul 4, 2009 3:15 pm
... I guess another question would be -- are there ANY books on Component Pascal? I know there is at least one, since I have this one, "The Theory and...
430
cfbsoftware1
Jul 5, 2009 1:49 am
... Component Pascal is basically a superset of Oberon-2 so any books on Oberon would be useful. The following list should keep you busy for a while: ...
431
cfbsoftware1
Jul 24, 2009 1:25 am
I've received a couple of reports that the GPCP site http://plas.fit.qut.edu.au/gpcp/ is not available (and possibly hasn't been for up to a week). I haven't...
432
K John Gough
john@...
Jul 24, 2009 8:06 am
Hi All Chris is correct, the whole domain disappeared round last weekend. It (the content) will be back real soon now. My preference is for the content to...
433
K John Gough
john@...
Jul 28, 2009 10:07 pm
Hi All. The site is back up, at the original URL. I will organize the mirroring later. John ... From: GPCP@yahoogroups.com [mailto:GPCP@yahoogroups.com] On...
434
tonythermo
Sep 29, 2009 4:18 am
I'm new to GPCP, but have been programming in BlackBox for quite a while. I'm trying to get started, and have followed the directions in the readme files....
435
K John Gough
john@...
Sep 29, 2009 8:18 pm
Hi Anthony I'll have a look at your log, then get back to you. Cheers John What can't be said can't be said, and it can't be whistled either. (Frank Ramsay's...
436
Antony Tersol
tonythermo
Sep 29, 2009 10:45 pm
Thanks. If it's helpful, here's more log. If I am not in the work directory, but in CPROOT, then the error messages are different - it then can't find the ...
437
Antony Tersol
tonythermo
Sep 30, 2009 7:55 pm
More info: If I cd into the examples/hello directory, and try to run Hello I get the same errors, so it would seem to perhaps be a problem of finding the ...
438
Stephen Harris
sharris1_us
Aug 2, 2010 8:35 pm
Sirs,  Can someone provide me with some simple examples of calls into the CLR? For example, I'd like to dump out the environment variables;...
439
cfbsoftware1
Aug 3, 2010 3:15 am
... (Not exactly what you asked for but it hopefully will be enough to get you started). I've uploaded an example CP program to the Files section of this group...
440
cfbsoftware1
Aug 3, 2010 6:56 am
... Since my previous reply I tripped over a CP example (EditEnvironment.cp) which does exactly what you asked for. I've uploaded it to the Files section. Look...
441
Stephen Harris
sharris1_us
Aug 3, 2010 1:43 pm
Chris,  Yes - this is the winner. It also gives me a great deal of insight into using the CLR. Much thanks!  -Steve ... From: cfbsoftware1...
442
Stephen Harris
sharris1_us
Aug 3, 2010 6:25 pm
Gah! Ran into another quandry.  I am trying to access the command line via the CLR. I have this:  IMPORT  System_ := "[mscorlib]System"; VAR  ...
443
Marc Martin
marcmartin2
Aug 3, 2010 7:01 pm
... You could use ProgArgs.GetArg and avoid the whole problem, I'd think? Marc...
444
Stephen Harris
sharris1_us
Aug 3, 2010 7:15 pm
Marc,  Yes, but the point of the exercise was to figure out how to use CP to work with the CLR. My idea is if I can work out the simple stuff, the hard...
445
Marc Martin
marcmartin2
Aug 3, 2010 7:29 pm
I'm not sure how to deal with a procedure that returns an array of System.String... anyone? Marc...
446
cfbsoftware1
Aug 4, 2010 12:19 am
... 1. I don't understand the empty format string "{}". 2. WriteString is not a Console method 3. You don't *need* to dereference but you can if you prefer. ...
447
K John Gough
john@...
Aug 4, 2010 3:25 am
Hi All In answer to Marc’s query, here is an example. MODULE HelloWorld2; IMPORT CPmain, Console, ProgArgs, Sys := mscorlib_System; (* defining a short alias...
448
Stephen Harris
sharris1_us
Aug 4, 2010 10:04 pm
Thanks for the replies. This is the program I wrote:  (* HelloWorld2.cp                                      Set...
449
Stephen Harris
sharris1_us
Aug 11, 2010 3:23 pm
Hi guys, Looking at \gpcp-JVM92;source92;libs92;cpascal92;ProgArgs.cp and ...\java92;ProgArgs.java, I see that the CP library interface module does not expose the Java...
450
Stephen Harris
sharris1_us
Aug 28, 2010 7:58 pm
CP users, I took the code below and did the following:     "C:\Program Files\Java92;jdk1.5.0_16\bin\javac" -cp C:\gpcp-JVM Stevestuff.java        ...
451
Stephen Harris
sharris1_us
Sep 1, 2010 4:36 pm
CP users, Am I breaking a rule of list etiquette by asking these questions? Or am I alone on this list? -Steve ... From: Stephen Harris...
452
Marc Martin
marcmartin2
Sep 1, 2010 4:59 pm
... I think the problem is that there are not very many active GPCP users on this list, or that most of them are using the .NET version, not the JVM version. ...
453
K John Gough
john@...
Sep 1, 2010 9:34 pm
Hi Stephen Sorry for the delay. What you have done looks approximately right, so I need to check out the details and get back to you. I must admit that I have...