Search found 351 matches

by Flinx
Fri Jan 16, 2026 1:12 pm
Forum: Hollywood bugs
Topic: FormatStr() on Linux (ppc) - unexpected result
Replies: 2
Views: 98

Re: FormatStr() on Linux (ppc) - unexpected result

Your syntax is incorrect. You are attempting to output a string with two digits and a leading zero. But this is only defined for numbers, so to fix just this line: mo$ = FormatStr("%02d", ToNumber(mo$)) But your function doesn't seem to make sense to me at all. Why don't you use FormatDate...
by Flinx
Tue Dec 30, 2025 4:57 pm
Forum: Windows IDE
Topic: Windows IDE corrupts the created files
Replies: 7
Views: 792

Re: Windows IDE corrupts the created files

I don't have many ideas left. A bad hard disk would cause problems with other activities too.
Could you provide an example of a file that cannot be compiled, or is the program too large for this?
by Flinx
Sat Dec 27, 2025 12:42 pm
Forum: Windows IDE
Topic: Windows IDE corrupts the created files
Replies: 7
Views: 792

Re: Windows IDE corrupts the created files

I used like base a previous version of my code I added the new code fro the corrupt file, and no the problem with that part of code don't appears That means, that this code isn't corrupted. I used the Notepad++ to see if there are some strange character but neither I saved the code with the Notepad...
by Flinx
Wed Dec 24, 2025 12:47 pm
Forum: Windows IDE
Topic: Windows IDE corrupts the created files
Replies: 7
Views: 792

Re: Windows IDE corrupts the created files

I've tried copying the same code from the working version and nothing works. I even copied code from the non-working version to the working one, and the old version still works. This should tell you that the bug is not in this part of the code. There's not much more we can say about it because we d...
by Flinx
Sat Dec 13, 2025 12:05 am
Forum: General programming
Topic: CreateList Modifying Items.
Replies: 2
Views: 790

Re: CreateList Modifying Items.

I think the key point is that Temp is a list with integer indexes, which can be seen in

Code: Select all

ForEach(Temp, DebugPrint)
What the list contains as elements should not matter.
by Flinx
Wed Dec 03, 2025 2:27 pm
Forum: Hollywood bugs
Topic: GetVolumeName() and GetVolumeInfo() on Windows
Replies: 1
Views: 463

GetVolumeName() and GetVolumeInfo() on Windows

On Windows, the functions GetVolumeName() and GetVolumeInfo() return the correct results for existing volumes, but for all non-existent volumes, the result is a random value or the previously returned value. Without my p_PrintHex() function, the result looks different, so I left it in the first two ...
by Flinx
Tue Dec 02, 2025 11:19 am
Forum: General programming
Topic: Some Questions.
Replies: 5
Views: 4601

Re: Some Questions.

Bugala wrote: Tue Dec 02, 2025 7:52 am I guess by now this OnError has happened, what was the implementation?
Maybe this one?

But I usually use the the construct from here, for example:

Code: Select all

Local err, id=?LoadBrush(Nil,vfile$)
If err<>#ERR_NONE
	...
by Flinx
Wed Nov 19, 2025 3:34 pm
Forum: General programming
Topic: String indexes, spaces, and WriteTable()
Replies: 2
Views: 1172

Re: String indexes, spaces, and WriteTable()

So, my first solution was to use the index strings in Base64 coded form, but because I wanted the file human readable, I now build a serializable list and save this. And convert it back after reading. If someone is interested: Function p_WriteNowPlayingTable() Local serializableTable=CreateList() If...
by Flinx
Mon Nov 17, 2025 10:53 pm
Forum: General programming
Topic: String indexes, spaces, and WriteTable()
Replies: 2
Views: 1172

String indexes, spaces, and WriteTable()

I have a table with string indexes, and the strings come from outside the program and may also contain spaces. Now I wanted to write this table using WriteTable(), but this did not work. The following example works with the legacy serializer, but with Adapter="Default" I get an “Error seri...
by Flinx
Fri Oct 17, 2025 10:31 am
Forum: Newbie questions
Topic: Extract file content into string without creating a flie
Replies: 12
Views: 2927

Re: Extract file content into string without creating a flie

Interesting. Maybe the behavior is actually only half a bug. I looked up the problem in the manual again, but it doesn't seem to be mentioned directly. However, section 7.9 (Loaders and adapters) describes the process of how loaders are used (Hollywood will ask all plugins whether they want to handl...