Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/30/2023 in all areas

  1. jchd

    64Bit Number To Base2,Base16

    Here is a set of functions to convert signed or unsigned Int64 to/from any base in [2, 37]. Func _IntToString($i, $base = 16) Return DllCall("msvcrt.dll", "wstr:cdecl", "_i64tow", "int64", $i, "wstr", "", "int", $base)[0] EndFunc ;==>_IntToString Func _StringToInt($s, $base = 16) Return DllCall("msvcrt.dll", "int64:cdecl", "_wcstoi64", "wstr", $s, "ptr*", 0, "int", $base)[0] EndFunc ;==>_StringToInt Func _UintToString($i, $base = 16) Return DllCall("msvcrt.dll", "wstr:cdecl", "_ui64tow", "uint64", $i, "wstr", "", "int", $base)[0] EndFunc ;==>_UintToString Func _StringToUint($s, $base = 16) Return DllCall("msvcrt.dll", "uint64:cdecl", "_wcstoui64", "wstr", $s, "ptr*", 0, "int", $base)[0] EndFunc ;==>_StringToUint
    1 point
  2. Take a look at the function_Excel_RangeRead in the help file. Using it, you could read the contents of the Excel file into an array, which you could then process to avoid the flipping back and forth between applications. If you search the forum, then you should find some examples of this function.
    1 point
×
×
  • Create New...