Search found 237 matches

by SamuraiCrow
Mon Oct 14, 2019 6:36 pm
Forum: Amiga IDE questions
Topic: Prefered Amiga IDE
Replies: 12
Views: 1741

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: 190

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: 164

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.
by SamuraiCrow
Thu Oct 03, 2019 8:05 am
Forum: General programming
Topic: Any way to save current eventhandler option?
Replies: 9
Views: 190

Re: Any way to save current eventhandler option?

It's the first parameter passed into the event handler. See https://hollywood-mal.com/docs/html/hol ... ndler.html for details.
by SamuraiCrow
Wed Oct 02, 2019 9:19 pm
Forum: General programming
Topic: Create tables
Replies: 8
Views: 164

Re: Create tables

You still need to put those 100 tables in an outer one. You can use a string concatination to generate a key value. Local and Global variables cannot use dynamic names.

Code: Select all

Global tbl={}
For t=0 to c
  tbl["MenuItem"..StrStr(t).."$"]={}
Next
by SamuraiCrow
Wed Oct 02, 2019 9:11 pm
Forum: General programming
Topic: Any way to save current eventhandler option?
Replies: 9
Views: 190

Re: Any way to save current eventhandler option?

Isn't an event just a table variable? You should be able to pass that in as a parameter or assign it to another variable as needed. You should even be able to insert it into another table!
by SamuraiCrow
Wed Oct 02, 2019 9:05 pm
Forum: General programming
Topic: Create tables
Replies: 8
Views: 164

Re: Create tables

Let's try again. You are trying to generate names dynamically? If so it needs to be inside an outer table.

Code: Select all

MenuItem={}
For t=0 to c
  MenuItem[t]={}
Next
by SamuraiCrow
Sun Sep 29, 2019 6:04 am
Forum: Newbie questions
Topic: Playlist how use it
Replies: 4
Views: 2010

Re: Playlist how use it

I'm pretty sure RapaGUI has a similar example.
by SamuraiCrow
Sat Sep 28, 2019 9:43 pm
Forum: Newbie questions
Topic: inTune on Linux
Replies: 2
Views: 70

Re: inTune on Linux

There is a plugin for OGG in the downloads page here.
by SamuraiCrow
Wed Sep 25, 2019 7:42 pm
Forum: Wishlist
Topic: ODBC
Replies: 1
Views: 87

Re: ODBC

Would modifying the wrapper for Postgres work?