Search found 279 matches

by jPV
Sun Nov 10, 2019 8:44 pm
Forum: Newbie questions
Topic: Drop some results
Replies: 6
Views: 161

Re: Drop some results

If only one value needed from a set of the returned values by a function what is the best approach? For example, you need the third return value of a function, you can do like this: a,b,c,d = Manyvalues() Debugprint(c) a,b,d = Nil Not an elegant solution to use three needless variables. I usually j...
by jPV
Sun Nov 10, 2019 11:00 am
Forum: Newbie questions
Topic: Aminet Release - How to
Replies: 19
Views: 597

Re: Aminet Release - How to

If you have to add/install something additional it might be deterrent to the potential user. Thats why I also prefer to link plugins instead of referring to the HOLLYWOOD Mal. I don't like to link plugins on Amiga compatibles, because: There will be useless writes to the HD each time you run the pr...
by jPV
Wed Oct 16, 2019 11:38 am
Forum: Newbie questions
Topic: JPEG quality setting syntax
Replies: 5
Views: 345

Re: JPEG quality setting syntax

Since the #SNAPWINDOW argument is optional and have a default value I thought it should not make any difference, and also the third argument worked without the second argumement. When giving these optional arguments, you can't skip any of them in the middle. If you want to give the third argument, ...
by jPV
Tue Oct 08, 2019 6:57 am
Forum: Tutorials
Topic: Very simple Exit-the-maze game
Replies: 4
Views: 345

Re: Very simple Exit-the-maze game

Please, please don't do this kind of "busy loops" in your programs. There's absolutely no need to make full CPU load for any kind of program, and especially for this simple that doesn't consume all available processing power to calculations. If you make this kind of loop to check user activity (inst...
by jPV
Wed Sep 18, 2019 6:58 pm
Forum: Newbie questions
Topic: does variable = NIL clean variable away?
Replies: 4
Views: 271

Re: does variable = NIL clean variable away?

Yes, "var = NIL" does nothing (or actually clears the global "var" variable). You must declare all local variables with the "Local" statement, otherwise they become global (with an exception of function parameters which are local too). So, you should do it like this to get a local "var" variable: fu...
by jPV
Wed Sep 18, 2019 3:49 pm
Forum: Hollywood bugs
Topic: StringRequest under AmigaOS3.9
Replies: 10
Views: 422

Re: StringRequest under AmigaOS3.9

Juan Carlos wrote:
Wed Sep 18, 2019 10:40 am
MorphOS hasn't reqtools.library
Yes it does, look in the SYS:MorphOS/Libs/, and I also noticed this bug once.. should report to the MorphOS team.
by jPV
Wed Sep 18, 2019 3:40 pm
Forum: General plugin questions
Topic: SFTP with hURL
Replies: 3
Views: 230

Re: SFTP with hURL

No, SFTP and FTPS are for quite different purposes. The sites/servers I access to transfer files are pretty much 50% FTP(S) and 50% SFTP. Some of the FTP sites also support FTPS, but none of the SFTP servers I happen to use support FTP(S). FTPS is just an extension to FTP protocol, but SFTP is its o...
by jPV
Tue Sep 17, 2019 5:42 pm
Forum: General plugin questions
Topic: SFTP with hURL
Replies: 3
Views: 230

SFTP with hURL

I'm trying to use SFTP with hURL under MorphOS, but I get an "Unsupported protocol!" error. It seems that this protocol isn't enabled at all when listing the supported protocols with versioninfo. Is there a reason why it isn't enabled or should it be? This code... @REQUIRE "hurl" t=hurl.Versioninfo(...
by jPV
Wed Sep 11, 2019 11:24 am
Forum: RapaGUI
Topic: Multiple Displays
Replies: 3
Views: 261

Re: Multiple Displays

is it possible to have more than one display with RappaGUI in a window? Yes. I am getting an error that "Error in line 31 (DispTest.hws): Could not find display 2!" I can't see that you'd created the display 2 there in your example code (.hws), that's why you can't select it. By default Hollywood c...
by jPV
Mon Sep 09, 2019 6:36 pm
Forum: MUI Royale
Topic: Iconifying via HideWindow event doesn't allow uniconify by double clicking the app icon
Replies: 3
Views: 294

Re: Iconifying via HideWindow event doesn't allow uniconify by double clicking the app icon

Hmpf... seems that something in my installed system triggers it. I tried to boot from live ISO image and it doesn't happen there, it's not about MorphOS versions. And I noticed one more detail on my installed system, if I have rebooted the machine, then it works with the very first try, but if I ico...