Post Reply 
50G custom units conversions
09-17-2014, 11:36 AM
Post: #8
RE: 50G custom units conversions
This is what I put together for computer storage units conversion:

'Bit'
Code:
%%HP: T(3)A(D)F(.);
1_?

'Byte'
Code:
%%HP: T(3)A(D)F(.);
8_Bit

'KBit'
Code:
%%HP: T(3)A(D)F(.);
128_Byte

'KByte'
Code:
%%HP: T(3)A(D)F(.);
8_KBit

'MBit'
Code:
%%HP: T(3)A(D)F(.);
128_KByte

'MByte'
Code:
%%HP: T(3)A(D)F(.);
8_MBit

'GBit'
Code:
%%HP: T(3)A(D)F(.);
128_MByte

'GByte'
Code:
%%HP: T(3)A(D)F(.);
8_GBit

'TByte'
Code:
%%HP: T(3)A(D)F(.);
1024._GByte

'PByte'
Code:
%%HP: T(3)A(D)F(.);
1024._TByte

'CST'
Code:
%%HP: T(3)A(D)F(.);
{ '1_Bit' '1_Byte' '1_KBit' '1_KByte' '1_MBit' '1_MByte' '1_GBit' '1_GByte' '1_TByte' '1_PByte' }

so the directory will look like this:

Code:
%%HP: T(3)A(D)F(.);
DIR
  KBit '128_Byte'
  Bit '1_?'
  Byte '8_Bit'
  KByte '8_KBit'
  MBit '128_KByte'
  MByte '8_MBit'
  GBit '128_MByte'
  GByte '8_GBit'
  TByte '1024._GByte'
  PByte '1024._TByte'
  CST { '1_Bit' '1_Byte' '1_KBit' '1_KByte' '1_MBit' '1_MByte' '1_GBit' '1_GByte' '1_TByte' '1_PByte' }
END

is this all possible using the unit prefixes?

Thanks
~~~~8< Art >8~~~~

PS: Please post more 50G stuff :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
50G custom units conversions - CosmicTruth - 09-06-2014, 01:29 AM
RE: 50G custom units conversions - rkf - 09-06-2014, 07:17 PM
RE: 50G custom units conversions - rkf - 09-08-2014, 08:36 AM
RE: 50G custom units conversions - rkf - 09-09-2014, 06:49 AM
RE: 50G custom units conversions - CosmicTruth - 09-17-2014 11:36 AM
RE: 50G custom units conversions - rkf - 09-17-2014, 11:57 AM



User(s) browsing this thread: 1 Guest(s)