[fpc-pascal] Re: Converting code from C++ to FP....

Bo Berglund bo.berglund at gmail.com
Sat Mar 19 17:18:46 CET 2011


On Sat, 19 Mar 2011 11:30:47 -0300, "Jorge Aldo G. de F. Junior"
<jagfj80 at gmail.com> wrote:

>no one explained so let me try :
>
>> void ForwardModel::SetMixedBoundaryCondition(const int iElec,
>
>void somefunction means its a pascal procedure
>
>>   const double* SX0,
>
>const has the same effect as fpc const before a parameter,
>
>double* SX0
>is the same as
>double *SX0
>or
>double * SX0
>
>so this becomes
>
>const SX0 : pdouble (ugly pointer as array Cishism)
>
>>   const double* SY0,
>
>const SY0 : pdouble
>
>>   const double* SZ0,
>
>idem
>
>>   double* SX,
>>   double* SY,
>>   double* SZ)
>
>SX : pdouble;
>
>etc

Thanks! :-)


-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list