BOZ literal constants
Feng Wang
wf_cs@yahoo.com
Tue Feb 1 09:59:00 GMT 2005
--- Steve Kargl <sgk@troutmask.apl.washington.edu> µÃÃýÃãº
> Gang,
>
> I've never used BOZ literal constants in my code,
> so I'm unsure of validate forms for these. Could
> someone send me an example of a BOZ literal constant
> that includes and excludes the use of kind type
> parameters.
>
BOZ literal constants have no intrinsic data type and assume a data type
depending on their use. IIRC, they cannot use kind parameter directly.
For example:
integer (kind = 4) :: i
real (kind = 8) :: r
i = b'11' ! This constant's data type is integer (4)
r = b'11' ! This constant's data type is real (8)
Best Regards,
Feng Wang
_________________________________________________________
Do You Yahoo!?
150ÃòÃúMP3·è¿ñÃ㬴øÃú´³ÃëÃôÃõîÃÃ
http://music.yisou.com/
ÃÃÃ
®Ã÷ÃÃæÃþ¡Ãã¬ÃñéÃÃü¡¢ÃÃüºÃ¿áü
http://image.yisou.com
1G¾ÃÃÃ1000Ãã¬ÃÃ
»¢µçÃÃÃÃÃúéÃã¡
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
More information about the Fortran
mailing list