- [CPC] Standard In , Standard Out and all theother I/O stuff
----boundary-LibPST-iamunique-553277959_-_-
Content-type: text/plain
Lars, you might look at Opal, from the Component Pascal Collection. This looks pretty good. The drawback is that it doesn't work with the BB IDE, so it's hard to debug with it. I think that may be the problem with the whole concept. If anyone knows more about how to use it, please let us know.
Various other compilers are sometimes recommended. Whatever the merits of particular compilers, it's truly unfortunate if one has to change to Zonnon for .NET or FPC to read a keystroke or display a character, BB to create a native-code graphic Windows application, maybe something else for Linux or Mac, and back to BB to use .DLLs from another language. The problem, of course, is that every one of these is a different language. This fragmentation can limit the usefulness of all these languages.
It was pointed out that BB neglects console I/O because it is a framework. This is true, but CP is not a framework, and BB has a CP compiler, so it can do this task. This is not a criticism of the framework. I'm just pointing out that there are no CP native-code compilers with this capability.
So, just in case someone has the urge to write an I/O module, does anyone know anything about what is involved? For example, Lars, you said you wrote one for FPC from the winapi. Is that code relevant and available?
Rex Couture
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-553277959_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFx0YWIgTGFycywgeW91IG1pZ2h0IGxvb2sgYXQg
T3BhbCwgZnJvbSB0aGUgQ29tcG9uZW50IFBhc2NhbCBDb2xsZW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aW50ZWQgb3V0IHRoYXQgQkIgbmVnbGVjdHMgY29uc29sZSBJ
L08gYmVjYXVzZSBpdCBpcyBhIGZyYW1ld29yay4gIFRoaXMgaXMgdHJ1ZSwgYnV0IENQIGlzIG5v
dCBhIGZyYW1ld29yaywgYW5kIEJCIGhhcyBhIENQIGNvbXBpbGVyLCBzbyBpdCBjYW4gZG8gdGhp
cyB0YXNrLiAgVGhpcyBpcyBub3QgYSBjcml0aWNpc20gb2YgdGhlIGZyYW1ld29yay4gIEknbSBq
dXN0IHBvaW50aW5nIG91dCB0aGF0IHRoZXJlIGFyZSBubyBDUCBuYXRpdmUtY29kZSBjb21waWxl
cnMgd2l0aCB0aGlzIGNhcGFiaWxpdHkuXHBhcg0KXHBhcg0KXHRhYiBTbywganVzdCBpbiBjYXNl
IHNvbWVvbmUgaGFzIHRoZSB1cmdlIHRvIHdyaXRlIGFuIEkvTyBtb2R1bGUsIGRvZXMgYW55b25l
IGtub3cgYW55dGhpbmcgYWJvdXQgd2hhdCBpcyBpbnZvbHZlZD8gIEZvciBleGFtcGxlLCBMYXJz
LCB5b3Ugc2FpZCB5b3Ugd3JvdGUgb25lIGZvciBGUEMgZnJvbSB0aGUgd2luYXBpLiAgSXMgdGhh
dCBjb2RlIHJlbGV2YW50IGFuZCBhdmFpbGFibGU/XHBhcg0KXHBhcg0KUmV4IENvdXR1cmVccGFy
DQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJT
Q1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNofX0ANS4wMA==
----boundary-LibPST-iamunique-553277959_-_---
Received on Fri Jul 13 2007 - 18:03:23 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:31:30 UTC