Search found 21 matches

by amyren
Mon May 20, 2019 1:40 pm
Forum: Tutorials
Topic: Simple breakout in Hollywood
Replies: 6
Views: 4557

Re: Simple breakout in Hollywood

That is a cool small game. I did apply a couple of changes for my own mod. Not so much, but added the option to select Mouse or Keyboard to control the pad, and added a message for the player who complete the game, with the option to start again. Apart from adding new levels, I think the game needs ...
by amyren
Mon May 20, 2019 12:45 pm
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

I did try to use RemoveItem to remove entries in my string-lists, but I failed at my first attemts. I probably had gotten the syntax wrong or something. However, I did re-read the docs and now RemoveItem is working as I want. But after my first failed attemt, I did try to change my script to use myl...
by amyren
Sun May 19, 2019 4:58 pm
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

Thanks all.
I ended up using the paranteses, now saving a few lines compared to my first workaround solution.

Code: Select all

If not (loadedline$ = "unwanted")  Then InsertItem(myvar$, loadedline$) 
by amyren
Sat May 18, 2019 11:04 pm
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

msu wrote:
Sat May 18, 2019 9:31 pm
"Not" can only result in True (1) or False (0).
I dont get it.
IF will also only result in True or False, NOT will only invert the result.
by amyren
Sat May 18, 2019 10:59 am
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

Why doesnt this first example work If Exists("save/mydata.data") OpenFile(1, "save/mydata.data", #MODE_READ) While Not Eof(1) loadedline$ = ReadLine(1) If not loadedline$ = "unwanted" ;dont load this entry InsertItem(myvar$, loadedline$) EndIf Wend CloseFile(1) EndIf While this does? If Exists("save...
by amyren
Mon May 13, 2019 11:25 am
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

msu wrote:
Sun May 12, 2019 9:28 pm
Just post a simple BlitzBasic example.
Maybe then I or someone else can help.
Thanks, I'll keep that in mind.
I will do some more attempts myself to resolve this first . I found that way I learn more.
by amyren
Sun May 12, 2019 10:25 pm
Forum: Newbie questions
Topic: Append info to file
Replies: 2
Views: 271

Re: Append info to file

airsoftsoftwair wrote:
Sat Feb 02, 2019 4:00 pm
#MODE_WRITE will always create a blank file. If you want to modify an existing file, you have to use #MODE_READWRITE, even if you don't want to read but just append.
Perhaps that could be explained in the OpenFile docs as well, if you care to add it at next update?
Or is it described elsewhere?
by amyren
Sun May 12, 2019 8:13 pm
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

I think a 1: 1 implementation will not work. I recommend you to use the "Traditional" Method. In addition, the table library is very slow. :oops: The program is not using any advanced blitz commands, only system friendly stuff. I will have to reconstruct the GUI, and the part where a few images are...
by amyren
Sun May 12, 2019 1:23 pm
Forum: RapaGUI
Topic: RapaGui Win32 chm - Help
Replies: 15
Views: 7843

Re: RapaGui Win32 chm - Help

I can not get that chm file to work either. It will open, and show the list of Content and Index, but all pages apear blank here. This is HollyWood 8, on Windows 7, 64 bit. And the RapaGUI.chm file is located in the c:\programfiles\hollywood\docs folder. (tried copying it into c:\temp but the result...
by amyren
Sun May 12, 2019 12:46 pm
Forum: Newbie questions
Topic: List and strings
Replies: 15
Views: 392

Re: List and strings

Thanks. You made that look embarrasingly easy :D I tried numerous combinations pretty close to the correct one before getting frustrated enaugh to ask. But this leads me to my next question(s). I do have a program I made in blitzbasic that I want to transform into HollyWood code. At first I just lik...