Search found 241 matches

by SamuraiCrow
Tue Jul 18, 2017 7:46 am
Forum: Windows IDE
Topic: (wish) Replace with each replace x=x+1
Replies: 4
Views: 2674

Re: (wish) Replace with each replace x=x+1

I would expect all the enumerations to be prefixed with a # symbol since they are constants.
by SamuraiCrow
Mon Jul 17, 2017 6:00 pm
Forum: Windows IDE
Topic: (wish) Replace with each replace x=x+1
Replies: 4
Views: 2674

Re: (wish) Replace with each replace x=x+1

Personally, I'd prefer an actual enumeration function.
by SamuraiCrow
Mon Jul 17, 2017 5:53 pm
Forum: General programming
Topic: any way to access function..n?
Replies: 1
Views: 1023

Re: any way to access function..n?

Of course there are other ways but the most effective way would be to make your existing wrapper tables into one so that each entry would have a var and a func field.

Code: Select all

wrap={{var=v1,func=func1},{var=v2,func=func2}…}
Then call it with

Code: Select all

wrap[n]["var"]
or

Code: Select all

wrap[n]["func"]
.
by SamuraiCrow
Sat Jul 15, 2017 6:34 pm
Forum: Newbie questions
Topic: Changing to full screen mode on amiga
Replies: 9
Views: 5500

Re: Changing to full screen mode on amiga

Can you tell us any more about your configuration besides that it's Workbench 3.1? What screenmode is the smallest in your Picasso 96 configuration? If you are not using P96, you need Plananorama plugin and a corresponding @requires directive and 2 libraries in your Libs: directory.
by SamuraiCrow
Mon Jul 10, 2017 11:37 am
Forum: General programming
Topic: For key, item In Pairs(table) safe to remov in middle of ex?
Replies: 2
Views: 1324

Re: For key, item In Pairs(table) safe to remov in middle of

I would advise against it. A better approach would be to make a work list in another table and put the modifications there. This would be easier if order was not significant because you could save time from renumbering all the keys and just pull from a third list containing the unmodified pairs.
by SamuraiCrow
Sat Jul 08, 2017 8:19 pm
Forum: Wishlist
Topic: foreach to tell its location
Replies: 2
Views: 1648

Re: foreach to tell its location

What's wrong with the For .. In .. Do syntax? It looks like this:

Code: Select all

For key,item in IPairs(table)
   ...
Next
In this example, key tells where and item tells what.
by SamuraiCrow
Thu Jul 06, 2017 7:43 pm
Forum: Showcase
Topic: My new documentation site and about where I'm heading :)
Replies: 82
Views: 34839

Re: My new documentation site and about where I'm heading :)

I could try to build a visual editor for it as soon as I've added some more planned effects :) I was working on one using RapaGUI but keep running into bugs in the tree gadgets. Do you want to try it with HGUI instead for now? I'll go with HGui, it the best option for me since I know it and I have ...
by SamuraiCrow
Wed Jul 05, 2017 10:11 pm
Forum: Showcase
Topic: My new documentation site and about where I'm heading :)
Replies: 82
Views: 34839

Re: My new documentation site and about where I'm heading :)

I was working on one using RapaGUI but keep running into bugs in the tree gadgets. Do you want to try it with HGUI instead for now? "Bugs" as in plural? If there are other bugs besides the GetEntry() problem you reported, please let me know :) I also reported that bug in the previous version: the s...
by SamuraiCrow
Wed Jul 05, 2017 11:09 am
Forum: Showcase
Topic: My new documentation site and about where I'm heading :)
Replies: 82
Views: 34839

Re: My new documentation site and about where I'm heading :)

Allanon wrote:I could try to build a visual editor for it as soon as I've added some more planned effects :)
I was working on one using RapaGUI but keep running into bugs in the tree gadgets. Do you want to try it with HGUI instead for now?
by SamuraiCrow
Wed Jun 28, 2017 2:32 am
Forum: Hollywood bugs
Topic: RapaGUI 1.1 GetEntry method
Replies: 5
Views: 3589

Re: RapaGUI 1.1 GetEntry method

Treeview.GetEntry skips a record when it encounters an empty node. If the empty node is gone, the subroutine listed above works. The "next" mode is wrong.