Search found 470 matches

by plouf
Sat Oct 15, 2022 11:42 pm
Forum: Wishlist
Topic: @MAINFILE preprocessor command
Replies: 17
Views: 13417

Re: @MAINFILE preprocessor command

above is wrong (really annoying that i cant modify post after a few minutes..) IDEargs, IDEcount = GetCommandLine() ScriptFile$ = GetFileArgument() StartDirectory$ = GetStartDirectory() HollywoodDirectory$ = GetProgramDirectory() OpenFile(1,ScriptFile$,#MODE_READ) FirstLine$=ReadLine(1) CloseFile(1)...
by plouf
Sat Oct 15, 2022 10:51 pm
Forum: Wishlist
Topic: @MAINFILE preprocessor command
Replies: 17
Views: 13417

Re: @MAINFILE preprocessor command

Following program does that. just replace this "Hollywood.exe" and rename Hollywood.exe to TrueHollywood.exe however i have F5 and compile working, but debug output is not printed in IDE, how does ide catch it ?! IDEargs, IDEcount = GetCommandLine() ScriptFile$ = GetFileArgument() Hollywoo...
by plouf
Thu Oct 13, 2022 10:22 pm
Forum: General programming
Topic: get console arguments WITHOUT - (win)
Replies: 11
Views: 3960

Re: get console arguments WITHOUT - (win)

my point is if you create an "exe" win32 cmd for example and you want arguments to this "command.exe" you have limitations i dont NEED itright now, but found these limitations during experimental. As Flinx said, an extension to GetFileAtrributes somehow like table = GetFileAttrib...
by plouf
Thu Oct 13, 2022 8:46 pm
Forum: General programming
Topic: get console arguments WITHOUT - (win)
Replies: 11
Views: 3960

Re: get console arguments WITHOUT - (win)

jPV wrote: Thu Oct 13, 2022 6:36 pm
plouf wrote: Mon Oct 10, 2022 8:23 pm hollywood.exe blahblah.hws -1=123

but how you get blahblah.hws ?
https://www.hollywood-mal.com/docs/html ... Info_.html
this one return full execution path of program no arguments at all
by plouf
Thu Oct 13, 2022 4:18 am
Forum: General programming
Topic: get console arguments WITHOUT - (win)
Replies: 11
Views: 3960

Re: get console arguments WITHOUT - (win)

GetFileArgument return the FIRST argument only and ONLY if the rest of argumetns are NOT with -
i can not get for example

Example.exe blahblah.exe blablah2.exe
by plouf
Tue Oct 11, 2022 4:13 pm
Forum: RapaGUI
Topic: Alignment of an image
Replies: 4
Views: 4345

Re: Alignment of an image

remove the rectangle from the side you want to align rectangle auto resizes <?xml version="1.0" encoding="iso-8859-1"?> <application id="app"> <window title="Image"> <hgroup> <vgroup> <rectangle/> <hgroup frame="true" halign="right"> <recta...
by plouf
Mon Oct 10, 2022 8:35 pm
Forum: RapaGUI
Topic: Alignment of an image
Replies: 4
Views: 4345

Re: Alignment of an image

Isnt the normal way or rapagui with vgroup hgroup etc
Working for you?
by plouf
Mon Oct 10, 2022 8:23 pm
Forum: General programming
Topic: get console arguments WITHOUT - (win)
Replies: 11
Views: 3960

get console arguments WITHOUT - (win)

how can i get all command argumetns?
following command will return "1 arg para 123"

hollywood.exe blahblah.hws -1=123

but how you get blahblah.hws ?
by plouf
Sun Sep 25, 2022 2:17 pm
Forum: Hollywood bugs
Topic: CountStr
Replies: 1
Views: 1207

Re: CountStr

Double quotes are the ONLY container for strings

Single quote is for single character and represends the character code i.e 'A' = 65

Corectly thought countste only finds a dot with ""
by plouf
Sun Sep 25, 2022 7:39 am
Forum: RapaGUI
Topic: Problem with HTMLview on Android
Replies: 7
Views: 2478

Re: Problem with HTMLview on Android

If htmlview in android tweaked
There are some other "tweaks" to enable javascript and loading local files whre would be very handfull if they also implemented