Search found 244 matches

by SamuraiCrow
Mon Jan 20, 2020 12:11 am
Forum: Wishlist
Topic: Shuffle Table
Replies: 8
Views: 452

Re: Shuffle Table

This one won't crash and it includes another version for generic tables tested with a Unicode key value. @DISPLAY 0, {HIDDEN = True} @VERSION 7,0 /* * Table shuffler * * Parameter: * a Table to shuffle * * Returns: * Shuffled table */ Function p_ShuffleTable(a) Local key, content, k, max, iter=Nil, ...
by SamuraiCrow
Sun Jan 19, 2020 8:11 am
Forum: Wishlist
Topic: Shuffle Table
Replies: 8
Views: 452

Re: Shuffle Table

Curiously, copying the two parameters to dummy variables alleviates the Sort check. @DISPLAY 0, {HIDDEN = True} nums = {"One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten"} Function Shuffler(x, y) Local a=x, b=y Return(Rnd(2) > 0) EndFunction Sort(nums, Shuffler) ListReques...
by SamuraiCrow
Fri Dec 06, 2019 9:52 am
Forum: Announcements
Topic: The Secret of Middle City now available in a boxed version
Replies: 5
Views: 1264

Re: The Secret of Middle City now available in a boxed version

Bugala wrote:
Thu Dec 05, 2019 9:27 pm
the Secret of MIddle City was made with Hollywood, by one of our Forum members (come up and introduce yourself!)
Now sadly deceiced, I'm afraid. This product is a tribute to the late Stefano Buonocore and the proceeds benefit his his family as they grieve his loss.
by SamuraiCrow
Fri Nov 15, 2019 10:36 pm
Forum: Off topic
Topic: Bytecode Alliance offers secure cross-platform code
Replies: 0
Views: 613

Bytecode Alliance offers secure cross-platform code

https://hacks.mozilla.org/2019/11/announcing-the-bytecode-alliance/ The big wheels are teaming up to offer a WebAssembly-based bytecode for non-browser apps. It seems like it could be a competitor to the Hollywood Player and the associated applet format. Or it could be an alternative target as well.
by SamuraiCrow
Sun Nov 10, 2019 3:37 pm
Forum: Newbie questions
Topic: Drop some results
Replies: 6
Views: 302

Re: Drop some results

LarsB wrote:
Sun Nov 10, 2019 2:58 pm
Why do you set a,b,d to NIL if they are not needed?
That's to deallocate them.
by SamuraiCrow
Thu Nov 07, 2019 1:42 am
Forum: Newbie questions
Topic: Aminet Release - How to
Replies: 19
Views: 1028

Re: Aminet Release - How to

@LarsB

The icon file format on AOS 4 is backward compatible to AOS 3.
by SamuraiCrow
Mon Nov 04, 2019 6:57 pm
Forum: Newbie questions
Topic: Applets and .ogg
Replies: 8
Views: 406

Re: Applets and .ogg

Applets are portable but plugins are not. Linkage cannot take place. Just put the plugin in the appropriate directory in the applet player.
by SamuraiCrow
Mon Oct 14, 2019 6:36 pm
Forum: Amiga IDE questions
Topic: Prefered Amiga IDE
Replies: 12
Views: 2277

Re: Prefered Amiga IDE

SantiDarkG wrote:
Mon Oct 14, 2019 2:45 pm
Error: File Path of the file *.hws doest not exist!
Did you try #?.hws instead of the star?
by SamuraiCrow
Thu Oct 03, 2019 6:44 pm
Forum: General programming
Topic: Any way to save current eventhandler option?
Replies: 9
Views: 520

Re: Any way to save current eventhandler option?

@Bugala

Have you considered making a wrapper function your handler instead and having it keep track of the functions yourself?
by SamuraiCrow
Thu Oct 03, 2019 8:10 am
Forum: General programming
Topic: Create tables
Replies: 8
Views: 502

Re: Create tables

sashapont wrote:
Wed Oct 02, 2019 9:32 pm
I use this code and than
SystemRequest("tbl", ListItems(tbl), "OK",#REQICON_WARNING)
I have 0. Why not 100?
Use TableItems() instead of ListItems() because it isn't an array.