Search found 390 matches
- Sun Aug 23, 2026 5:42 pm
- Forum: General programming
- Topic: WriteTable() and error handling
- Replies: 4
- Views: 187
Re: WriteTable() and error handling
Thanks, I hadn't noticed that.
- Sun Aug 23, 2026 4:53 pm
- Forum: General programming
- Topic: WriteTable() and error handling
- Replies: 4
- Views: 187
Re: WriteTable() and error handling
Of course, but I just wanted to show here that the question mark doesn't work.
- Sun Aug 23, 2026 2:30 pm
- Forum: General programming
- Topic: WriteTable() and error handling
- Replies: 4
- Views: 187
WriteTable() and error handling
;t={} OpenFile(1, "test", #MODE_WRITE) err=?WriteTable(1, t, {Adapter="default"}) "Error in line 3 (test.hws): Table expected in argument 2!" I just noticed that error handling with WriteTable() isn't working. With RaiseOnError() it's the same. Am I doing something wro...
- Sat Aug 15, 2026 4:04 pm
- Forum: Code snippets area
- Topic: Table Monitor - a real-time monitor for Hollywood tables
- Replies: 2
- Views: 25220
Re: Table Monitor - a real-time monitor for Hollywood tables
Here is the second version of the Table Monitor. The display should now be able to handle every string. If the content of a string is not recognized, it is treated as binary data, and the first 50 bytes are displayed in hexadecimal. You can now also scroll through the window contents using the mouse...
- Fri Aug 14, 2026 4:15 pm
- Forum: Windows IDE
- Topic: Adding a Icon
- Replies: 3
- Views: 985
Re: Adding a Icon
Correction: SaveIcon() is not necessary if the images are specified individually.
- Fri Aug 14, 2026 3:25 pm
- Forum: Windows IDE
- Topic: Adding a Icon
- Replies: 3
- Views: 985
Re: Adding a Icon
The manual entry for @APPICON does have examples at the bottom showing how to do this with PNG images. You don't need Iconic for that.
Resize your icon image for all resolutions, save them with SaveIcon() and insert the table with the paths/filenames of these images at the beginning of the program.
Resize your icon image for all resolutions, save them with SaveIcon() and insert the table with the paths/filenames of these images at the beginning of the program.
- Tue Jul 28, 2026 1:24 pm
- Forum: General programming
- Topic: Can @Require be optional?
- Replies: 8
- Views: 13620
Re: Can @Require be optional?
@REQUIRE is a preprocessor command. It does not exist during normal program execution; rather, it triggers an action by the preprocessor that takes place before the program actually starts. During normal program execution, preprocessor directives have no direct effect, so you can place them anywhere...
- Sat Jul 18, 2026 10:56 pm
- Forum: Hollywood bugs
- Topic: Minor bug with SeekMusic
- Replies: 13
- Views: 67315
Re: Minor bug with SeekMusic
As mentioned before, I know such things from MP3s with variable bitrates. If you're not sure about the format, try reencoding the file to a fixed bitrate, for example in the command line:
ffmpeg -y -i test.mp3 -b:a 256k test256.mp3
ffmpeg -y -i test.mp3 -b:a 256k test256.mp3
- Fri Jul 17, 2026 10:16 am
- Forum: Hollywood bugs
- Topic: Bug in Rnd()
- Replies: 4
- Views: 8131
Re: Bug in Rnd()
I don't think that's a bug.
Since the function uses an LCG, RndSeed() is executed at startup, and that uses the system time as the initial value.
So during normal program execution, there's no longer any dependence on time. It's only noticeable because the test program is restarted with each run.
Since the function uses an LCG, RndSeed() is executed at startup, and that uses the system time as the initial value.
So during normal program execution, there's no longer any dependence on time. It's only noticeable because the test program is restarted with each run.
- Mon Jun 08, 2026 11:05 am
- Forum: General programming
- Topic: How to find out the currently selected display?
- Replies: 5
- Views: 14412
Re: How to find out the currently selected display?
Now that I’ve taken a closer look, I realize my question was too specific. I had imagined it too simple. “Change the output device within an interval function and restore the previous state at the end of that function” is much more complicated than I had expected at the time. Okay, I should have gue...