Search found 397 matches

by SamuraiCrow
Sun May 09, 2021 5:07 am
Forum: Newbie questions
Topic: How do I empty a table when using reference?
Replies: 3
Views: 96

Re: How do I empty a table when using reference?

Try this:

Code: Select all

Function p_ClearTable(t)
	For k,v In Pairs(t)
		t[k]=Nil
	Next
	Return(t)
EndFunction

Global tab={1,2,3,4,5,{"a","b"}}
tab=p_ClearTable(tab)
DebugPrint(TableItems(tab))
by SamuraiCrow
Sat May 01, 2021 6:29 am
Forum: RapaGUI
Topic: Crash with "Choice" object on Android
Replies: 3
Views: 100

Re: Crash with "Choice" object on Android

The Hollywood Player plugin is RapaGUI version 2.0 on Android. MorphOS is still on RapaGUI 1.x and the 2 versions are not fully compatible.
by SamuraiCrow
Tue Apr 27, 2021 7:24 am
Forum: Newbie questions
Topic: Can Loadplugin() be linked?
Replies: 3
Views: 182

Re: Can Loadplugin() be linked?

Is hurl.hwp in the appropriate static linkage directory for your operating system?
by SamuraiCrow
Wed Apr 14, 2021 9:20 pm
Forum: RapaGUI
Topic: How to export and import a listview?
Replies: 3
Views: 230

Re: How to export and import a listview?

The procedure for dumping the entries in a listview to a table involves looping through Listview.Entries times. You retrieve all the columns as return codes from Listview.GetEntries and assign them to fields in the inner tables (one table per row). And add each inner table to an outer table as an ar...
by SamuraiCrow
Tue Apr 13, 2021 4:25 am
Forum: Windows IDE
Topic: Hollywood extension for Visual Studio Code (hw4vsc) released
Replies: 31
Views: 7395

Re: Hollywood extension for Visual Studio Code (hw4vsc) released

The open source versions of VS Code work well with your plugin on Linux.
by SamuraiCrow
Tue Apr 13, 2021 4:23 am
Forum: RapaGUI
Topic: ListviewColumn Sortable="0"
Replies: 13
Views: 862

Re: ListviewColumn Sortable="0"

I didn't try yet. I kept running into various bugs in RapaGUI and have been hoping the new release version 2.0 would be out soon.
by SamuraiCrow
Tue Mar 30, 2021 11:35 am
Forum: Newbie questions
Topic: I looking function paint bucket type (dpaint ou ppaint)
Replies: 24
Views: 4999

Re: I looking function paint bucket type (dpaint ou ppaint)

Alpha channel isn't available in 8 bit graphics modes.
by SamuraiCrow
Mon Mar 29, 2021 4:01 pm
Forum: Wishlist
Topic: Indefinite Palette cycling?
Replies: 4
Views: 764

Re: Indefinite Palette cycling?

Good to know!
by SamuraiCrow
Sat Mar 27, 2021 7:09 pm
Forum: Wishlist
Topic: Indefinite Palette cycling?
Replies: 4
Views: 764

Re: Indefinite Palette cycling?

@AirsoftSoftwair

I see now that the palette cycling demonstration code doesn't use the built-in cycling command but manipulates the palette manually. Perhaps a future asynchronous version could implement infinite cycling like AmosPro has so that fading and cycling don't conflict.
by SamuraiCrow
Sat Mar 27, 2021 7:03 pm
Forum: Wishlist
Topic: Cos, Tan, Sin, mention to manual about Degrees and Radians.
Replies: 3
Views: 275

Re: Cos, Tan, Sin, mention to manual about Degrees and Radians.

Code: Select all

Function p_deg(rad#)
   Return(180*rad#/pi#)
EndFunction