Search found 58 matches

by msu
Tue Jun 04, 2019 2:18 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 2789

Re: Problem with ReceiveData

Hi Andreas, Meanwhile, I solved the problem. :D It does not matter if you use #RECEIVEBYTES or #RECEIVEALL (untillterm = TRUE), both works. This code here is an absolute performance killer for large amounts of data: part$, c = ReceiveData(ConnectionID, #RECEIVEBYTES, 5) Answer$ = Answer$ .. part$ Th...
by msu
Sat May 18, 2019 11:36 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4356

Re: List and strings

Please also read the documentation.

Here is an example with "Not":

Code: Select all

loadedline$ = "Hallo"
If Not loadedline$ = False
	DebugPrint("loadedline$ is not empty")
EndIf
by msu
Sat May 18, 2019 9:31 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4356

Re: List and strings

"Not" can not be used with string variables.
"Not" can only result in True (1) or False (0).
by msu
Fri May 17, 2019 8:35 pm
Forum: Showcase
Topic: PostgreSQL for Hollywood
Replies: 6
Views: 4338

Re: PostgreSQL for Hollywood

Since the last beta I have written programs testing this library. I was able to find and fix a lot of bugs. Most of these were small mistakes, such as unreleased resources. All in all, many millions of database queries have been completed in the past few days. That's why here is the first final vers...
by msu
Sun May 12, 2019 9:28 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4356

Re: List and strings

Just post a simple BlitzBasic example.
Maybe then I or someone else can help.
by msu
Sun May 12, 2019 5:02 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4356

Re: List and strings

I think a 1: 1 implementation will not work.
I recommend you to use the "Traditional" Method.
In addition, the table library is very slow. :oops:
by msu
Sat May 11, 2019 11:30 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4356

Re: List and strings

Code: Select all

test$={}
InsertItem(test$,"mytext")
TextOut(20, 100, test$[0])
WaitLeftMouse	
End
by msu
Sun May 05, 2019 5:39 pm
Forum: Showcase
Topic: PostgreSQL for Hollywood
Replies: 6
Views: 4338

Re: PostgreSQL for Hollywood

Here is a new update. Version 1.0 beta 1 (04.05.2019) BLOBs (Binary Large Objects) are supported. PG: OpenDatabase has been redesigned. The network connection will now be opened by the function itself. The documentation has been adapted and expanded. Please note: The download location has changed. :...
by msu
Sat May 04, 2019 9:10 pm
Forum: Hollywood bugs
Topic: ByteLen() and Unicode
Replies: 2
Views: 667

Re: ByteLen() and Unicode

I should have looked at the utf8 table before. :oops:
Only from position 128, the characters are 2 bytes in size ....
by msu
Sat May 04, 2019 3:03 pm
Forum: Hollywood bugs
Topic: ByteLen() and Unicode
Replies: 2
Views: 667

ByteLen() and Unicode

Under Windows10 x64:

Code: Select all

SetDefaultEncoding(#ENCODING_UTF8, #ENCODING_UTF8)
a$ = "H"
DebugPrint(ByteLen(a$))
Normally, the result should be 4 bytes.

According to ByteLen, a$ is only 1 byte in size. :?: