Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Bug -- drivemap()

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Bug -- drivemap()
#12984
Posted by: Doug Arndt 2009-06-02 03:36:49
minor issue with drivemap()

Sample program:
say "drivemap('C','FIXED')     =" drivemap('C','FIXED')
say "drivemap('C','CDROM')     =" drivemap('C','CDROM')
say "drivemap('C','REMOVEABLE')=" drivemap('C','REMOVEABLE')
say "drivemap('C','NETWORK')   =" drivemap('C','NETWORK')
say "---------"
say "drivemap()                =" drivemap()
say "drivemap('A')             =" drivemap('A')
say "drivemap('C')             =" drivemap('C')


Results on my system:
drivemap('C','FIXED')     = C:\
drivemap('C','CDROM')     = D:\
drivemap('C','REMOVEABLE')= E:\
drivemap('C','NETWORK')   = S:\
---------
drivemap()                = C:\ D:\ E:\ S:\
drivemap('A')             = D:\
drivemap('C')             = D:\


The first four lines are ok, as is drivemap()
However, the doc reads that when the "type" is omitted,  ALL the above types are listed, however, if a starting drive letter is used, it's defaulting to 'CDROM' only.

ps, it would be nice to combine types, like  "FIXED|REMOVEABLE"
Doug
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥860.00 ·
 
 
¥410.00 ·
 
 
¥288.00 ·
 
 
¥918.00 ·
 
 
¥288.00 ·
 
 
¥264.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0