Dadido3

PB Dll string return

Jun 17th, 2015
782
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Procedure _EXT_Files_File_Get(Name.s, *Result)
  2.   Protected String.s
  3.  
  4.   String = Files_File_Get(Name)
  5.  
  6.   If *Result
  7.     ProcedureReturn PokeS(*Result, String, -1, #PB_String_NoZero)
  8.   Else
  9.     ProcedureReturn StringByteLength(String)
  10.   EndIf
  11. EndProcedure
RAW Paste Data