Search found 167 matches

by p-OS
Sat Jun 13, 2020 5:31 pm
Forum: Mailing list archive
Topic: [13 Feb 2008] How to get the ID of an layer ?
Replies: 4
Views: 2549

[13 Feb 2008] How to get the ID of an layer ?

<r><I><s>[i]</s><SIZE size="85"><s>[size=85]</s>Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 13 Feb 2008 15:34:16 +0100</SIZE><e>[/i]</e></I><i>[/size]</i><br/> <br/> Hello,<br/> <br/> imagine the following code:<br/> <CODE><s>[code]</s><i> </i>Enable...
by p-OS
Sat Jun 13, 2020 5:31 pm
Forum: Mailing list archive
Topic: [13 Feb 2008] How to get the ID of an layer ?
Replies: 4
Views: 2549

[13 Feb 2008] RE: How to get the ID of an layer ?

<r><I><s>[i]</s><SIZE size="85"><s>[size=85]</s>Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 13 Feb 2008 16:54:22 +0100</SIZE><e>[/i]</e></I><i>[/size]</i><br/> <br/> GetAttribute(#DISPLAY, 0, #ATTRLAYERS<br/> <br/> Ah, that'S the trick <E>:)</E><br/>...
by p-OS
Sun Mar 29, 2020 12:00 am
Forum: General programming
Topic: I suppose Hollywood doesnt support nested functions?
Replies: 7
Views: 5271

Re: I suppose Hollywood doesnt support nested functions?

When I try your first Code, i got an "Function test2() no found" error Of course you can have nested functions. But you must declare a function always before you call it: That works: Function test() Function test2() DebugPrint("test2") EndFunction test2() DebugPrint("test11&...
by p-OS
Sat Mar 28, 2020 11:44 pm
Forum: Hollywood bugs
Topic: Network Timeout When Connecting To An Android Server
Replies: 8
Views: 5173

Re: Network Timeout When Connecting To An Android Server

Could be a Android Firewall issue / security Limitation. Or maybe the port is already used by some other service on the Android device
by p-OS
Sun Feb 23, 2020 10:13 pm
Forum: General programming
Topic: Locale Library: quite some questions...
Replies: 1
Views: 3716

Locale Library: quite some questions...

I try to understand better how Hollywood Locale Library works. What is the result of GetSystemLanguage() and GetSystemCountry() if it is different then the internally supported values? 0 ? A negative error number ? Nil ? On non amigaoid platforms only the languages are supported, that are in this li...
by p-OS
Sun Nov 10, 2019 7:06 pm
Forum: Newbie questions
Topic: Drop some results
Replies: 6
Views: 5912

Re: Drop some results

I wonder why you assign the values at all if you don't need them ? This will work: myfunc=Function() Return(1,2,3,4) EndFunction a,b,c=myfunc() DebugPrint(a) DebugPrint(b) DebugPrint(c) DebugPrint(d) This, too: myfunc=Function() Return(1,2,3,4) EndFunction a,b,c,d,e=myfunc() DebugPrint(a) DebugPrint...
by p-OS
Fri Nov 08, 2019 5:55 pm
Forum: Hollywood bugs
Topic: DownloadFile() Post vs PostData documentation mismatch
Replies: 6
Views: 7225

Re: DownloadFile() Post vs PostData documentation mismatch

Code: Select all

data$, bytes = DownloadFile("http://site.com/script.cgi", {Post = "a=1&b=2"})
by p-OS
Fri Sep 27, 2019 2:40 pm
Forum: General programming
Topic: why table.function doesnt pass var while table:function does?
Replies: 3
Views: 3913

Re: why table.function doesnt pass var while table:function does?

I think, that if you create a method (:), HW implicitly adds a self Parameter:

Function s_Intro:Parser_RemoveUnwantedChars(string)
<=>
s_Intro["Parser_RemoveUnwantedChars"]=Function (self,string)

I assume you get an error that Parameters are missing...
by p-OS
Mon Sep 23, 2019 4:27 pm
Forum: General programming
Topic: Anyone done script system that is written to a file?
Replies: 14
Views: 10551

Re: Anyone done script system that is written to a file?

Include is evaluated at compile time, he wants the commands to be executed at runtime.

Well, at least on amiganoid systems I wpuld simply set up an ARexx Port in my Hollwood App and define commands for it.
by p-OS
Fri Sep 20, 2019 7:12 pm
Forum: RapaGUI
Topic: Zoom Hollywood display
Replies: 6
Views: 5294

Re: Zoom Hollywood display

Scrolling should not be a Problem. wehne zooming, just Change Displaysize, but not size in MUI/RapaGui Hollywood.class. And put a ScrollGroup around it.