Search found 878 matches

by Peter
Thu Feb 15, 2024 2:56 pm
Forum: Coding Questions
Topic: open a database
Replies: 15
Views: 574

Re: open a database

nad wrote: Thu Feb 15, 2024 2:33 pmMaybe I should move on and find a language that opens sqlite databases.
Good luck
by Peter
Tue Feb 13, 2024 2:07 pm
Forum: Coding Questions
Topic: Is RadixTree possible here
Replies: 5
Views: 191

Re: Is RadixTree possible here

Your code does not work: [15:06:41] [COMPILER] Line 66: '@' can't be used to get string address
by Peter
Tue Feb 13, 2024 12:16 pm
Forum: Coding Questions
Topic: Is RadixTree possible here
Replies: 5
Views: 191

Re: Is RadixTree possible here

To help, you would first need to show your RadixTree implementation. The code you linked does not work under SpiderBasic.
by Peter
Tue Feb 13, 2024 11:53 am
Forum: Coding Questions
Topic: Is RadixTree possible here
Replies: 5
Views: 191

Re: Is RadixTree possible here

AZJIO wrote: Tue Feb 13, 2024 11:08 amand it didn't work.
Error message?
by Peter
Sat Feb 10, 2024 10:32 pm
Forum: Feature Requests and Wishlists
Topic: database field names
Replies: 2
Views: 239

Re: database field names

nad wrote: Sat Feb 10, 2024 7:40 pmthe ability to access database fields by field name.
I have already answered that: viewtopic.php?p=9702#p9702
by Peter
Sat Feb 10, 2024 1:55 pm
Forum: Coding Questions
Topic: relative field names from db
Replies: 2
Views: 136

Re: relative field names from db

You can use DatabaseColumnIndex():

Code: Select all

ReturnValue.s = GetDatabaseString(YourDatabase, DatabaseColumnIndex(YourDatabase, "YourTableField"))
by Peter
Tue Feb 06, 2024 11:39 am
Forum: Coding Questions
Topic: How to store and use a callback function (kind of delegate)
Replies: 3
Views: 236

Re: How to store and use a callback function (kind of delegate)

Perhaps as in the following example: Procedure CallFunction(Function, Param1, Param2) Protected ReturnValue ! if (typeof v_function === "function") { ! v_returnvalue = v_function(v_param1, v_param2); ! } ProcedureReturn ReturnValue EndProcedure Structure TCalc *addFunction EndStructure Pro...
by Peter
Mon Feb 05, 2024 2:07 pm
Forum: Coding Questions
Topic: Link to #PB_LocalStorage (?)
Replies: 1
Views: 216

Re: Link to #PB_LocalStorage (?)

If you create a file with the #PB_LocalStorage flag, it is not physically created, but stored in a memory area of the browser. You can view this in the developer console: https://i.imgur.com/c3tRNrK.png (The library used for this in SpiderBasic is called localForage. For this reason, you will find i...
by Peter
Sat Feb 03, 2024 12:25 am
Forum: Bugs Reports
Topic: Unable to use LoadXML() with OpenXMLDialog()
Replies: 2
Views: 690

Re: Unable to use LoadXML() with OpenXMLDialog()

LoadXML() [...] Return value Nonzero if the xml object has been created. The xml data is still not loaded, the callbacks binded to #PB_Event_Loading and #PB_Event_LoadingError will be called once the loading is done. If #PB_Any was used for the #XML parameter then the generated number is returned o...
by Peter
Fri Feb 02, 2024 3:44 pm
Forum: Javascript
Topic: List of class names for css modification in window.css
Replies: 3
Views: 666

Re: List of class names for css modification in window.css

Here are the gadget css files:

[YourSpiderBasicPath]\Libraries\javascript\dojo\themes\claro\claro.css

or

[YourSpiderBasicPath]\Libraries\javascript\dojo\themes\flat\flat.css