| Deutsch English Français Italiano |
|
<67702cde$0$714$14726298@news.sunsite.dk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sat, 28 Dec 2024 11:52:46 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Screen management in C Newsgroups: comp.os.vms References: <87o70xgq62.fsf@lucy.meyer21c.net> <vkmge7$3ltsp$1@dont-email.me> <vkmjlq$3mm86$1@dont-email.me> <vkmvfk$3p9tn$1@dont-email.me> Content-Language: en-US From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> In-Reply-To: <vkmvfk$3p9tn$1@dont-email.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 30 Message-ID: <67702cde$0$714$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: f7e0a706.news.sunsite.dk X-Trace: 1735404767 news.sunsite.dk 714 arne@vajhoej.dk/68.14.27.188:50936 X-Complaints-To: staff@sunsite.dk Bytes: 1912 On 12/27/2024 2:34 PM, Arne Vajhøj wrote: > On 12/27/2024 11:12 AM, Craig A. Berry wrote: >> On 12/27/24 9:17 AM, Arne Vajhøj wrote: >>> Because SMG$ are supporting Pascal/Basic/Cobol/Fortran then >>> many arguments are pass by descriptor and you will need to setup >>> those in C, so some familiarity with descriptors will be required. >> >> This has been discussed previously here: >> >> https://groups.google.com/g/comp.os.vms/c/ufBEqvGdglU >> >> That discussion has pointers to various examples, > > In general VMS Pascal/VMS Basic code should be maybe 25% shorter > than equivalent C code. But with a descriptor centric API like > SMG$ then it may be more like 40% shorter. > > One could make a nice wrapper in C++ encapsulating the context > and convert between stl::string / C char array and descriptors. If anyone want to try, then I suggest: $ CXX/POINTER=32 ... or you will regret it. Arne