Search found 4441 matches

by airsoftsoftwair
Tue Jan 12, 2021 10:34 pm
Forum: Newbie questions
Topic: How to iterate correctly over a given table and peek specific values
Replies: 8
Views: 440

Re: How to iterate correctly over a given table and peek specific values

Don't know what the problem here is either... what do you mean by the "check for the columns"?
by airsoftsoftwair
Tue Jan 12, 2021 10:33 pm
Forum: Newbie questions
Topic: AmigaOS4 Serial Device Examples
Replies: 5
Views: 467

Re: AmigaOS4 Serial Device Examples

There was no way that i could understand from the manual that 5 = #BAUD_38400 But you don't have to know that! Just use the constant instead of its value, i.e. p.bauds = #BAUD_38400 That's what those constants are actually for ... to make the code more readable because nobody knows what's going on ...
by airsoftsoftwair
Tue Jan 12, 2021 10:31 pm
Forum: APK Compiler
Topic: KeepProportions not working with compiler 3.2
Replies: 5
Views: 438

Re: KeepProportions not working with compiler 3.2

Shouldn't be too long until a release, I hope :)
by airsoftsoftwair
Fri Jan 08, 2021 12:54 pm
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 798

Re: Any way to have Function save its Args for later use?

And as I was looking at how to get this done, it seems using Local was doing exactly that. Ok, true. By doing it this way you'll get actually two different local variables named "prt". This is possible but of course it's a rather awkwar construction. But question is, will n[1]() and n[2]() keep pri...
by airsoftsoftwair
Wed Jan 06, 2021 1:39 pm
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 798

Re: Any way to have Function save its Args for later use?

Well, the "Local" declaration doesn't really make sense to me here because it's not inside a function. Why would you want to use "Local" outside a function in the first place? Doesn't make sense to me at all.
by airsoftsoftwair
Wed Jan 06, 2021 1:37 pm
Forum: Hollywood bugs
Topic: OS4.1FEu2 release breaks plugin loading Hollywood pre 8.x
Replies: 3
Views: 340

Re: OS4.1FEu2 release breaks plugin loading Hollywood pre 8.x

No, Hollywood was using GetSegListInfo() before 7.1 as well. They changed something in GetSegListInfo() which breaks all those executables...
by airsoftsoftwair
Wed Jan 06, 2021 1:34 pm
Forum: Newbie questions
Topic: How to program a fast graphics filter operation
Replies: 6
Views: 334

Re: How to program a fast graphics filter operation

Another optimization is to use local for loops because they are faster than non-local for loops, i.e. use For Local k = 0 To 600 instead of For k = 0 To 600 Then you might want to avoid function calls like Red(), Green(), Blue() and substitute them with bitwise operations, e.g. color = $123456 r = c...
by airsoftsoftwair
Mon Jan 04, 2021 12:59 pm
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 798

Re: Any way to have Function save its Args for later use?

Can you confirm if this is actually a safe way of doing something like this, or if program is long is it possible that after for example couple of minutes the garbage collection comes and removes n[1] prt state away? No, why should n[1] be garbage collected? It will never be garbage collected until...
by airsoftsoftwair
Mon Jan 04, 2021 12:53 pm
Forum: Remedios
Topic: Remedios with iOS 13.4.1
Replies: 9
Views: 2548

Re: Remedios with iOS 13.4.1

Good to know, thanks for testing!
by airsoftsoftwair
Mon Jan 04, 2021 12:52 pm
Forum: Hollywood bugs
Topic: OS4.1FEu2 release breaks plugin loading Hollywood pre 8.x
Replies: 3
Views: 340

Re: OS4.1FEu2 release breaks plugin loading Hollywood pre 8.x

Yeah, this is because the OS4 developers decided to break compatibility in dos.library's LoadSeg(). I've adapted Hollywood to work correctly with the new LoadSeg() in Hollywood 7.1 but of course it means that all executables compiled by Hollywood < 7.1 won't be able to load plugins on OS4. Not my fa...