Search found 112 matches

by p-OS
Thu Apr 27, 2017 1:33 am
Forum: General programming
Topic: Meta Info on Hollywood vars at runtime ?
Replies: 4
Views: 2635

Re: Meta Info on Hollywood vars at runtime ?

So there is a hidden feature ;) Relying on undocumented Features in general might not be the best coding practise, but good to know, migth be useful for debugging purposes. If I understood right, when it comes to tables or functions (that are normally not copied but only passed as reference/pointer)...
by p-OS
Wed Apr 26, 2017 3:11 pm
Forum: General programming
Topic: Requester problem
Replies: 3
Views: 2275

Re: Requester problem

HW7 exspects UTF8, but maybe the Editor (or older HW IDE) you used to write it saved not in UTF8 ? Or copied/pasted from another Editors Window...
by p-OS
Wed Apr 26, 2017 1:29 pm
Forum: General programming
Topic: Requester problem
Replies: 3
Views: 2275

Re: Requester problem

Save your .hws as UTF8 and it should work.
by p-OS
Wed Apr 26, 2017 12:41 am
Forum: RapaGUI
Topic: Toolbar.Horiz="FALSE" seems not to work for Win32
Replies: 9
Views: 4986

Re: Toolbar.Horiz="FALSE" seems not to work for Win32

didn't user RapaGUI yet, but according to documentation correct Syntax is:

Code: Select all

<toolbar horiz="false">
 .....some buttons....
</toolbar>
by p-OS
Tue Apr 25, 2017 5:34 pm
Forum: RapaGUI
Topic: Toolbar.Horiz="FALSE" seems not to work for Win32
Replies: 9
Views: 4986

Re: Toolbar.Horiz="FALSE" seems not to work for Win32

He is not talking about Hollywood Source Code, but the GUI definiton in the XML file... and there its is meant to be a string. Thus sems ok to me.
by p-OS
Mon Apr 24, 2017 6:06 pm
Forum: MUI Royale
Topic: Request: Numericbutton class
Replies: 8
Views: 3870

Re: Request: Numericbutton class

I agree. and as it is just a subclass of with no new attributes It migth be easy to add.
by p-OS
Mon Apr 24, 2017 6:02 pm
Forum: General programming
Topic: Meta Info on Hollywood vars at runtime ?
Replies: 4
Views: 2635

Meta Info on Hollywood vars at runtime ?

Hello, as HW compiles to kind of Byte Code I wonder if it preserves meta information like table and function names in the compiled code and if it is possible to access these informations ?

If I have a reference/pointer to a function, can I find out the name of this function ?
by p-OS
Tue Apr 18, 2017 5:26 pm
Forum: General programming
Topic: Lua version used for Hollywood?
Replies: 6
Views: 3711

Re: Lua version used for Hollywood?

The entry in Lua user projects seems to be quite old.
But according to HW7 docs (chapter Credits) ist is still Lua 5.02
by p-OS
Wed Apr 12, 2017 1:34 am
Forum: SDK
Topic: MOS: SetPointer conflict : intuition.h vs hollywood/plugin.h
Replies: 3
Views: 4339

Re: MOS: SetPointer conflict : intuition.h vs hollywood/plug

Your suggestion results in: src/amigaentry.c:49:26: error: 'InitPlugin' undeclared here (not in a function) {"InitPlugin", (void *) InitPlugin}, ^ src/amigaentry.c:50:27: error: 'ClosePlugin' undeclared here (not in a function) {"ClosePlugin", (void *) ClosePlugin}, ^ src/amigaentry.c:51:28: error: ...
by p-OS
Tue Apr 11, 2017 1:11 pm
Forum: RapaGUI
Topic: A couple of requests for the new RG version
Replies: 7
Views: 3853

Re: A couple of requests for the new RG version

AFAIK they exist for 68k only, but at least on MorphOS they work fine (OS4 don't know). And as they are based on powerful date.library they are also powerful when it comes to special date related issues (e.g. the fact that some days don't exist in gregorian calendar or support different calendar sys...