Search found 115 matches

by p-OS
Sun Mar 29, 2020 12:00 am
Forum: General programming
Topic: I suppose Hollywood doesnt support nested functions?
Replies: 7
Views: 206

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") EndFunction test() Note...
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: 282

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

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

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

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

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

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

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.
by p-OS
Fri Sep 20, 2019 2:12 am
Forum: Polybios
Topic: pdf.OpenDocument and virtual files
Replies: 1
Views: 1011

pdf.OpenDocument and virtual files

In my program I want to create a pdf using Polybios and read it again for displaying. In my first attempt I saved the pdf document to a temporary file and then opened the document again. Worked . But now I tried to use a virtual file instead: @REQUIRE "polybios" doc = pdf.CreateDocument() ; ... ; no...
by p-OS
Thu Sep 05, 2019 4:51 pm
Forum: Showcase
Topic: RNOPDF
Replies: 22
Views: 6052

Re: RNOPDF

It works now :)
Thanks for fixing this immediatly !