From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,dfd89335df14aeeb X-Google-Attributes: gid10f8a1,public X-Google-Thread: f7344,dfd89335df14aeeb X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,dfd89335df14aeeb X-Google-Attributes: gid1164f8,public From: livorsi@fcws11.mdc.com (Mike Livorsi) Subject: Re: com file Date: 1996/01/29 Message-ID: <4ejmnf$2t9@mdsol1.mdc.com>#1/1 X-Deja-AN: 137170468 sender: livorsi@f18fcs.mdc.com (Mike Livorsi) references: <4ef4ah$2s7@nyx.cs.du.edu> <4efmkt$11i@gap.cco.caltech.edu> organization: McDonnell Douglas (F/A-18E/F Flight Controls) reply-to: livorsi@fcws11.mdc.com newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha In article <4efmkt$11i@gap.cco.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: >In article <4ef4ah$2s7@nyx.cs.du.edu>, anon4621@nyx.cs.du.edu (Night Pheonix) writes: >= >=i need someone to help me. i am trying to right a com program, but it's >=not working right. i am trying to get the program to go to the CDC's page >=when you type CDC. i have it defined something like >=$cdc ==: www http://www.cdc.gov >=can someone please help me? > >It would've been useful if you'd included the entire procedure, or AT LEAST >told us what happens when you try to execute it. From what you HAVE told us, >your syntax above is wrong: You don't want: > $cdc ==: www http://www.cdc.gov >rather, you'd want: > $cdc :== www http://www.cdc.gov >Of course, that won't actually run any program, but at least it'll give you a >definition of the symbol CDC instead of the error message: > %DCL-W-EXPSYN, invalid expression syntax - check operators and operands The above assumes that www is defined as a DCL command (i.e., in DCLTABLES). First type: $ show symbol www If you see something like: "%DCL-W-UNDSYM, undefined symbol", then what Carl has recommended should work. However, if you see something like: WWW == "$ xxx:[xxx]xxx", then you'll have to define CDC as: $ cdc == www + " http://www.cdc.gov" ....................................................................... Michael Livorsi F/A-18E/F Flight Controls Software McDonnell Douglas Corporation livorsi@fcws11.mdc.com