Search found 277 matches

by jPV
Wed Oct 16, 2019 11:38 am
Forum: Newbie questions
Topic: JPEG quality setting syntax
Replies: 5
Views: 150

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: 190

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: 173

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: 226

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: 122

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: 122

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: 135

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: 185

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...
by jPV
Sun Sep 08, 2019 8:50 pm
Forum: Newbie questions
Topic: MakeDirectory()
Replies: 8
Views: 216

Re: MakeDirectory()

Interesting that StringToFile does work like that, copying the content of the info file and creates a new file with the same content. I though that stringtofile only worked with textfiles, but apearently it does more than that. Strings can also store binary data in Hollywood, there aren't any other...
by jPV
Sun Sep 08, 2019 10:30 am
Forum: Newbie questions
Topic: MakeDirectory()
Replies: 8
Views: 216

Re: MakeDirectory()

I guess something like this should work in the most cases: @FILE 1, "my_drawer.info" Function p_MakeDir(path$, newdir$) newdir$ = TrimStr(newdir$, "/", True) Local fullpath$ = FullPath(path$, newdir$) If (HaveVolume(path$) Or Exists(path$)) And Not Exists(fullpath$) MakeDirectory(fullpath$) If Exist...