Last Comments

Rich Jordan (My Digital Collec…): I never got a tote or lar…
Rich Jordan (My Digital Collec…): I look forward to these. …
Chris (PmWiki): I would say that you prob…
tmr (PmWiki): Has anybody tried to run …
rafael (Print, baby, prin…): Thank you very much. I …
Mark (PmWiki): Yes, that did the trick. …
Chris (PmWiki): Hi Mark, In the apache$…
Mark (PmWiki): Hi, I am also suffering f…
Jose Baars (Burn, baby, burn): Hi, Thanks for writing th…
Aaron (Keeping PAKs): I’ve been working with HP…

Archives

01 Jan - 31 Dec 2006
01 Jan - 31 Dec 2007
01 Jan - 31 Dec 2008
01 Jan - 31 Dec 2009

Reference

dcl.OpenVMS.org
www.OpenVMS.org
OpenVMS FAQ
OpenVMS' official site
OpenVMS documentation
OpenVMS WebRing
Secure Web Server
OpenVMS Hobbyist Forums
Pivot Homepage

Blogs

eight-cubed.com
HoffmannLabs
SYSMGR in the attic
VMS Spoken Here

Miscellany

Powered byPivot - 1.30.2: 'Rippersnapper' 
XML Feed (RSS 1.0) 
XML: Atom Feed 

« Command of the day, 3… | Home | Command of the day, 1… »

Command of the day, 4-May-2007

$ ... f$fao("!%D",0)

The trick here being that you need to include the 0 (zero)! f$fao("!%D") is nonsensical!



two comments:

but isn’t that the same as F$TIME ?
[imiller] (URL) - 04-May-2007 - 16:16

Yes, but it can be used within an FAO directive for structured output. Using f$time() means you’ve got to do symbol substitution to get the output; although performance-wise they’re about the same, I find it esthetically more pleasing to use a built-in directive. There is no other equivalent to using the ”!%T”, for example.

I just wonder why we have to pass a 0 as a parameter, when that’s the only value it can take (DCL does not implement quadwords, which is what that directive expects.) Unless someone once upon a time thought ahead to the day when we might get that! (Ah, the joys of an architected and planned out system! Someone was thinking ahead!)
Aaron () (URL) - 04-May-2007 - 17:07


No trackbacks:

Please enable javascript to generate a trackback url


  
Remember personal info?

Emoticons / Textile

To prevent automated comment spam, I've got to ask you this innocuous question about the creator of our fav OS, DEC.
 

  ( Register your username / Log in )

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.