[Implemented] Space(Count)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] Space(Count)

Post by BackupUser »

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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Will be part of v3.20

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

YES !

Its a long way to the top if you wanna .....CodeGuru
Post Reply