Re: [CS3304_1381] passing pointers in functions

New Message Reply About this list Date view Thread view Subject view Author view

Sean Cooper (secooper@VT.EDU)
Fri, 11 Feb 2000 15:05:46 -0500


Message-ID:  <4.2.2.20000211150431.00a3d100@127.0.0.1>
Date:         Fri, 11 Feb 2000 15:05:46 -0500
From: Sean Cooper <secooper@VT.EDU>
Subject:      Re: [CS3304_1381] passing pointers in functions

Pascal sometimes doesn't like using raw pointer notation... try declaring a
typedef of char pointer and return/pass that...

-Sean

At 02:28 PM 2/11/00 -0500, you wrote:
>I have the following function:
>
>FUNCTION someFunction(var pos:^ char): ^char;
>
>I am trying to pass in a pointer and the function returns a pointer to a
>char as well.
>This does not compile though. Could someone tell me what the problem is?
>
>Thanks



New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Fri Feb 11 2000 - 15:19:54 EST