TIP: Click on subject to list as thread! ANSI
echo: clipper
to: DANIELE CALANCA
from: STEVEN READ
date: 1997-11-04 07:46:00
subject: Re: problem with cl5.2c (

===========================================================================
Packet: PC-OHIO
Date: 1997-10-30 (14:33)           Number: 2690
From: DANIELE CALANCA              Refer#: NONE
  To: TOM CLAFFY                    Recvd: NO
Subj: RE: PROBLEM WITH CL5.2C (      Conf: (757) CLIPPER-F
---------------------------------------------------------------------------
DC> Hello Tom!
DC> Friday December 10 1993 16:45, Tom Claffy wrote to Martijn Sanders:
DC>  TC> #xcommand Scatter [ File ]  [ To ]   =>      ;
DC>  TC>             (                            ;
Here's your problem             ^^^^^
DC>  TC>             ( aEval (  := ARRAY( fCount() ) , ;
DC>  TC>             {|x,y| \[y\] := FieldGet(y)}))
DC> I got an error like this trying to compile the code:
DC> TEST.PRG(4)    Error C2061  Label error in #translate/#command
DC> I cannot find what is wrong....
DC> Daniele
DC> wilcox@freenet.hut.fi
This is the correct/tested (Clipper 5.2) version.
#xcommand Scatter [ File ]  [ To ]   =>      ;
            (  )->                           ;
            ( aEval (  := ARRAY( fCount() ) , ;
            {|x,y| \[y\] := FieldGet(y)}))
#xcommand Gather [ File ]  [ From ]   => ;
            (  )->                     ;
            ( aEval (                , ;
            {|x,y| FieldPut( y, x) } ) )
So long for now,
Steve
---
 * QMPro 1.53 * steven.read@pcohio.com (in western New York state, USA)
--- InterEcho 1.19
---------------
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.