Did ever using CLIENT-MASTER.FILE ever compile. I just tried D3 and it
didn't work. I don't recall it ever working. That was the golden rule, no
dashes, asterisks, slashes or plus signs in variable names as they are
operators.

My 1 cent
----- Original Message -----
From: "Charlie Rubeor" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Thursday, July 26, 2007 2:29 PM
Subject: RE: [U2] I need a favor


> [EMAIL PROTECTED] wrote on 07/26/2007 01:16:44 PM:
>
> > I got stuck with file names like CLIENT-MASTER, CLIENT-CRED-FILE, etc.
> > You should convert dashes in file names to periods or underscores in the
> > variable names.  Otherwise, you get:
> > OPEN 'CLIENT-MASTER' TO CLIENT-MASTER.FILE ...
> > READ CLIENT-MASTER.REC FROM CLIENT-MASTER.FILE, CLIENT-MASTER.ID ...
> >
> > UV compiler doesn't like variables with dashes.
> >
>
> It's not just Universe.  Not many compilers will like variables with
> dashes.  With CLIENT-MASTER.FILE, the compiler would think that you wanted
> to subtract MASTER.FILE from CLIENT.
>
> For example, try this (if it even compiles, that is):
>
> CLIENT = 3
> MASTER.FILE = 1
> TEMP = CLIENT-MASTER.FILE
> PRINT TEMP
>
> It should print out 2
>
> --------------------------------------------------
> Charlie Rubeor
> Senior Database Administrator
> Wiremold/Legrand
> 60 Woodlawn Street
> West Hartford, CT  06110
> Tel: 860-233-6251 x3498
> Fax: 860-523-3690
> Email: [EMAIL PROTECTED]
> --------------------------------------------------
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to