[Info-vax] Long uptime cut short by Hurricane Sandy

Johnny Billquist bqt at softjar.se
Thu Jan 31 16:25:03 EST 2013


On 2013-01-31 20:22, Bill Gunshannon wrote:
> In article <keeb7i$e15$1 at dont-email.me>,
> 	Stephen Hoffman <seaohveh at hoffmanlabs.invalid> writes:
>> On 2013-01-31 17:38:45 +0000,   VAXman-  @SendSpamHere.ORG said:
>>
>>> $ filename =
>>> filenameprefix+"_"+F$fao("!19AS",F$cvtime(,"COMPARISON"))-"-"-"-"-"
>>> "-":"-":"+".dmp"
>>
>> Yeah.  Or add the prefix and the underscore into the f$fao, as that
>> avoids clobbering caracters in the prefix.
>
> And tell me how the above is not cryptic?  Just what is the difference
> between the first dash and the second?  Or the third?  And would anyone
> normal determine that?  :-)

Maybe it would be more obvious with some appropriately placed spaces...

$ filename = filenameprefix + "_" + 
F$fao("!19AS",F$cvtime(,"COMPARISON")) - "-" - "-" - "-" - ":" - ":" + 
".dmp"

Ie, remove three dashes and two colons, and then add something at the 
end. (Ignoring what's going on at the beginning.)

As the for F$FAO and F$CVTIME functions, you obviously need to read the 
documentation to know exactly what they produce.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol



More information about the Info-vax mailing list