[Implemented] Space(Count)
Posted: Thu Jun 06, 2002 9:06 am
Restored from previous forum. Originally posted by Rings.
Yes i know that there are more than 1 workarounds for that function,
but i think its an most wanted one.A lot of Apis use predefinied Strings and i size them with a Space-Command.
Procedure.s GetExeName()
szPath$=Space$(255) ;Fills with 255 Blanks
result=GetModuleFileName_(0, szPath$, 255)
ProcedureReturn szPath$
EndProcedure
Its a long way to the top if you wanna .....CodeGuru
Yes i know that there are more than 1 workarounds for that function,
but i think its an most wanted one.A lot of Apis use predefinied Strings and i size them with a Space-Command.
Procedure.s GetExeName()
szPath$=Space$(255) ;Fills with 255 Blanks
result=GetModuleFileName_(0, szPath$, 255)
ProcedureReturn szPath$
EndProcedure
Its a long way to the top if you wanna .....CodeGuru