Re: DCL: IF and .AND. logic
- From: "David J. Dachtera" <djesys.no@xxxxxxxxxxxxxxxx>
- Date: Tue, 06 Jun 2006 20:59:49 -0500
JF Mezei wrote:
$A = 2
$B = 3
$ IF (A .AND. B) THEN WRITE SYS$OUTPUT "Chocolate" ! writes nothing
$ IF (A .AND. B) .ne. 0 then WRITE SYS$OUTPUT "Rasberry" ! writes "Rasberry"
$ IF .NOT. (A .AND. B) then WRITE SYS$OUTPUT "Rasberry"
....will do the same.
--
David J Dachtera
dba DJE Systems
http://www.djesys.com/
Unofficial OpenVMS Marketing Home Page
http://www.djesys.com/vms/market/
Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/
Unofficial OpenVMS-IA32 Home Page:
http://www.djesys.com/vms/ia32/
Unofficial OpenVMS Hobbyist Support Page:
http://www.djesys.com/vms/support/
.
- Prev by Date: Re: Unix runs faster, maybe
- Next by Date: Re: Unix runs faster, maybe (was: Re: Educating potential VMS users)
- Previous by thread: Re: What wide SCSI constrollers will be recognized by SRM of PWS600
- Next by thread: MOSAIC: little bug (invalid requests)
- Index(es):
Relevant Pages
|