Search found 4 matches

by holyfieldstudios
Fri Jun 03, 2005 12:05 am
Forum: Coding Questions
Topic: STRING ARRAY size in bytes?
Replies: 3
Views: 1543

I dont mean lenght of array

I dont mean lenght of array byt size in bytes of one dimensional array..

from the manual:

When you define a new array, please note that it will have one more element than you used as parameter, because the numbering of the elements in PureBasic (like in other BASIC's) starts at element 0. For ...
by holyfieldstudios
Thu Jun 02, 2005 11:47 pm
Forum: Coding Questions
Topic: STRING ARRAY size in bytes?
Replies: 3
Views: 1543

STRING ARRAY size in bytes?

How to calculate size (in bytes) of allocated memory by string array?
by holyfieldstudios
Thu May 26, 2005 10:35 pm
Forum: Tricks 'n' Tips
Topic: Windows: Encryption with password using the Windows API
Replies: 27
Views: 17378

Cool

Seems to work
by holyfieldstudios
Wed May 25, 2005 7:00 pm
Forum: Coding Questions
Topic: Line Parser
Replies: 13
Views: 3153

Any suggestions

Procedure StrSplit(Expression$, Delimiter$)

;Define a new zero lenght array as default result for procedure to return
Dim res.s(0)
count.l = CountString(Expression$, Delimiter$)

;Validate input
If Len(Expression$) < 1
;Return zero lenght array
ProcedureReturn res()
EndIf

If count = 0 ...