You have to DO MAT B = MAT A after you have dim'ed B, but then the CRT B won't work because it is an array.
Tom Dodds [EMAIL PROTECTED] 708-234-9608 Office 630-235-2975 Cell -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett Sent: Tuesday, October 03, 2006 1:25 PM To: [email protected] Subject: RE: [U2] Command that is the opposite of MATPARSE. Dave: Really? I tried the following on UniData v7.1: 3 Demo (0)-> BPTEST DIM A(5) ; A(1) = "A" ; A(2) = "B" ; A(3) = "C" ; A(4) = "D" ; A(5) = "E" ; B = A ; CRT B ; END Compiling Unibasic: SAVEDLISTS\BpTest_407195971 in mode 'p'. redefined variable A near line 7 compilation failed In E:\DataTrust\DTA\BP\BP\_BPTEST at line 101 can not find object/catalog file: 'SAVEDLISTS\_BpTest_407195971'. ...but on D3 I get: 31 Demo (0)-> BPTEST DIM A(5) ; A(1) = "A" ; A(2) = "B" ; A(3) = "C" ; A(4) = "D" ; A(5) = "E" ; B = A ; CRT B ; END BpTest*407628781 . [241] Successful compile! 1 frame(s) used. A^B^C^D^E Am I missing something here? Thanks, Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Walker Sent: Tuesday, October 03, 2006 5:39 AM To: '[email protected]' Subject: RE: [U2] Command that is the opposite of MATPARSE. They work in Unidata... -- Dave Walker -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Haskett Sent: Monday, October 02, 2006 8:35 PM To: [email protected] Subject: RE: [U2] Command that is the opposite of MATPARSE. Mark: I don't believe this works in the U2 products. All those little niceties of D3 are not considered essential in U2. :-) Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson Sent: Monday, October 02, 2006 4:14 PM To: [email protected] Subject: Re: [U2] Command that is the opposite of MATPARSE. I don't know if this would work on U2 but as I was trying to remember this for D3, I simply equated them as such: DIM A(100) MATREAD A FROM FILE, ID ELSE STOP B=A PRINT A(49), B<49> My .001 cents. Mark Johnson ----- Original Message ----- From: "Kevin King" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, October 02, 2006 6:53 PM Subject: RE: [U2] Command that is the opposite of MATPARSE. > >Just curious - Does anyone know if there is a command/function > >that will do just the opposite (of MATPARSE)? > > MATBUILD > > -Kevin > [EMAIL PROTECTED] > http://www.PrecisOnline.com ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
