Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Help with some DCL programming......
@ 1996-06-20  4:00 Spencer Allingham
  1996-06-20  4:00 ` Excellence is an attitude
  0 siblings, 1 reply; 2+ messages in thread
From: Spencer Allingham @ 1996-06-20  4:00 UTC (permalink / raw)



Hi,

I have a small DCL programming question, that I would like some help 
with.

Does anyone know how to transfer the value of a symbol to a hexadecimal
checksum.

For example, if we have the following symbol....

$ name = spencer

what command(s) can I use, to change 'spencer' into a hexadecimal value?

If you could let me know, it would really help me out a lot!

Many thanks for your help!

Best regards,

Spencer Allingham





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with some DCL programming......
  1996-06-20  4:00 Help with some DCL programming Spencer Allingham
@ 1996-06-20  4:00 ` Excellence is an attitude
  0 siblings, 0 replies; 2+ messages in thread
From: Excellence is an attitude @ 1996-06-20  4:00 UTC (permalink / raw)



name = F$FAO("!XL",spencer)

will place the hexadecimal value of SPENCER into NAME, assuming it contains a
longword binary value.

See HELP LEXICAL F$FAO for entertaining details.

Have fun,
don

In article <31C9D638.3953@execsoft.co.uk>, Spencer Allingham <tech.support@execsoft.co.uk> writes:
> Hi,
> 
> I have a small DCL programming question, that I would like some help 
> with.
> 
> Does anyone know how to transfer the value of a symbol to a hexadecimal
> checksum.
> 
> For example, if we have the following symbol....
> 
> $ name = spencer
> 
> what command(s) can I use, to change 'spencer' into a hexadecimal value?
> 
> If you could let me know, it would really help me out a lot!
> 
> Many thanks for your help!
> 
> Best regards,
> 
> Spencer Allingham
> 
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-06-20  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-20  4:00 Help with some DCL programming Spencer Allingham
1996-06-20  4:00 ` Excellence is an attitude

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox