Article View: bit.listserv.simula
Article #612Type casting in Simula?
From: Christian Steinebach
Date: Thu, 09 Dec 1993 08:15
Date: Thu, 09 Dec 1993 08:15
10 lines
1056 bytes
1056 bytes
Is there a way to convince a Simula compiler that an integer is actually a pointer to character string or array of character strings? The Lund compiler contains some library functions (argv and envp) which return pointers to the commandline arguments and the environment, respectively. But HOW do I access the character strings when Simula insists in telling me that my pointer is an integer? Christian
Technical Details
Message-ID:
<2e6mre$q70@ugle.unit.no>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!sunic!ugle.unit.no!mtdhp1.marintek.sintef.no!chrisShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dd9,c7d2d639a1959b7e,start X-Google-Attributes: gid113dd9,public X-Google-ArrivalTime: 1993-12-09 00:15:42 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!sunic!ugle.unit.no!mtdhp1.marintek.sintef.no!chris From: chris@mtdhp1.marintek.sintef.no (Christian Steinebach) Newsgroups: bit.listserv.simula Subject: Type casting in Simula? Date: 9 Dec 1993 08:15:42 GMT Organization: University of Trondheim, Norway Lines: 11 Distribution: world Message-ID: <2e6mre$q70@ugle.unit.no> NNTP-Posting-Host: mtdhp1.marintek.sintef.no