I created my own function to display KB, MB, or Bytes. but im not sure what im doing wrong here.
You dont have to help if you dont want to, but i'd appreciate if you did =)
Code:
~DarkShadowWing~
You dont have to help if you dont want to, but i'd appreciate if you did =)
Code:
Graphics3D 800, 600, 32, 2 size# = FileSize("c:/windows/system32/calc.exe") While Not KeyDown(1) UpdateWorld RenderWorld Text 10, 10, "size: "+size# Text 10, 30, "size type: "+size#+" "+getsize$(size#) Flip Wend Function getsize$(size#) If size# >= size#*1000 stype$ = "MB" Else If size# < size#*1000 stype$ = "KB" EndIf Return stype$ End Function
~DarkShadowWing~