Search found 591 matches

by lazi
Fri May 07, 2021 11:46 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 695

Re: Double terminated string problem

Thanks jPV! Yes I made a mistake with exchanging -1 and false. Tested ArrayStr() speedwise and it is obviously slower than findstr(). This is the fastest way I found yet: Function strnorm(s$) ;it can happen that a string has a zero byte inside, not just the end of the string ;this function crops the...
by lazi
Fri May 07, 2021 1:19 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 695

Re: Double terminated string problem

A possible solution: Function strnorm(s$) ;it can happen that a string has a zero byte inside, not just the end of the string ;this function crops the garbaged end from the string Local sl=FindStr(s$,"\000") Return (IIf(sl=False, s$, LeftStr(s$,sl))) EndFunction Do you know a better one?
by lazi
Fri May 07, 2021 12:19 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 695

Double terminated string problem

Let's take the situation that we have a string which has a zero byte in there and not at the last position. You may think that this is what happens when somebody lurking with dark occult code lines. Just pour it with holy water and avoid it next time. But please try to not questioning the origin of ...
by lazi
Wed May 05, 2021 8:37 pm
Forum: Showcase
Topic: OnScreenKeyboard for Touch Screens
Replies: 2
Views: 672

Re: OnScreenKeyboard for Touch Screens

There was an attempt to make such tool for OS4. Here is the amigans topic: https://www.amigans.net/modules/xforum/viewtopic.php?post_id=93570#forumpost93570 Unfortunately the links are not working anymore, but ask LiveForIt! Can't find on my machine, but it worked if I remember correctly. According ...
by lazi
Sat May 01, 2021 7:37 am
Forum: Newbie questions
Topic: External Ip Address?
Replies: 7
Views: 1199

Re: External Ip Address?

This is what I use for get WAN IP of the network: Function p_getip() Local err=?OpenConnection (1,"checkip.dyndns.org",80) If err=0 SendData(1,"GET index.html HTTP/1.0\r\n\r\n") Local a$=ReceiveData(1,#RECEIVEALL) a$=UnrightStr(a$,FindStr(a$,"<body>")+6) a$=LeftStr(a$,FindStr(a$,"</body>")) Return(a...
by lazi
Sun Apr 04, 2021 10:01 pm
Forum: Announcements
Topic: Hollywood 9.0: Sugarcane released!
Replies: 38
Views: 9525

Re: Hollywood 9.0: Sugarcane released!

This topic is for the great news that the most actively developed Amiga software has a new release. Please use the off-topic section of this board for personal thoughts. I am really interested all about you, dear friends in Hollywood, but please keep in mind that a new user may be disturbed if the p...
by lazi
Sun Mar 28, 2021 12:33 pm
Forum: General programming
Topic: InstallEventHandler question regarding the function
Replies: 2
Views: 710

Re: InstallEventHandler question regarding the function

Not sure I understand your problem, but AFAIK self has meaning only inside the oop function.

If you need to update OOP: function's self.myvariable outside the OOP: function then you should call the variable OOP.myvariable.

If you are familiar with that, please try to rephrase the problem.
by lazi
Mon Mar 22, 2021 2:45 pm
Forum: Announcements
Topic: Hollywood 9.0: Sugarcane released!
Replies: 38
Views: 9525

Re: Hollywood 9.0: Sugarcane released!

Great. Its some time ago that I reported a glitch which caused that some fonts couldnt be linked. Is the fix part of this release? I don't know about the specific problem, but found this entry in the history: Fix: Some TrueType fonts which contained style keywords in their face name (e.g. "Albertus...
by lazi
Sun Mar 21, 2021 3:29 pm
Forum: Announcements
Topic: Hollywood 9.0: Sugarcane released!
Replies: 38
Views: 9525

Re: Hollywood 9.0: Sugarcane released!

It is amazing!
I am enthusiastic about your work!

And we are not left without teasers: the upcoming plugins!

Well done!

Edit: Order placed! :-)
by lazi
Sun Feb 07, 2021 11:00 pm
Forum: RebelSDL
Topic: Cannot set adapter
Replies: 6
Views: 1668

Re: Cannot set adapter

Is that means that a GLGalore aware MUIRoyale plugin still can happen sometime? Embedding GLGalore display into a MUI window would be nice. p.s: By the way fortunately Hollywood is so powerful that maybe I can create two programs which communicate by IPC. One for the rebelsdl display and one for the...