Hi folks,
I would like to use the new MobilUI and have the AI rewrite my previous interfaces.
This has only worked mediocre so far.
I would therefore like to feed a GPT with the complete syntax so that the AI can generate the source code.
My question: is there already a document that only contains all commands in one page with only syntax, description, parameters and return value?
Or do you have any other tips? I use ChatGPT and Claude. Is the GitHub Copilot perhaps better?
Feeding AI with SpiderBasic
Re: Feeding AI with SpiderBasic
Yes, you can use the PDF: https://www.spiderbasic.com/documentati ... rBasic.pdf
-
- Posts: 332
- Joined: Fri Sep 22, 2017 7:02 am
Re: Feeding AI with SpiderBasic
Thank you Fred. With the pdf, it works better now.
Re: Feeding AI with SpiderBasic
How did you feed it ?
-
- Posts: 332
- Joined: Fri Sep 22, 2017 7:02 am
Re: Feeding AI with SpiderBasic
I first uploaded it as an attachment in a ChatGPT chat and instructed the AI to read the document and take a close look at the syntax and parameters in the Mobile UI chapter. Then I set the programming task. The result was now better.
When I have time, I want to experiment further.
But I think a plain text file containing only syntax and parameters could be more effective.
I had the AI create this once. But I haven't tested it yet.
The whole thing currently looks like this. It would be interesting to know how the information needs to be prepared so that the AI can consume and use it optimally.
When I have time, I want to experiment further.
But I think a plain text file containing only syntax and parameters could be more effective.
I had the AI create this once. But I haven't tested it yet.
The whole thing currently looks like this. It would be interesting to know how the information needs to be prepared so that the AI can consume and use it optimally.
Code: Select all
Command,Syntax,Description,Flag Constants
AddListMobileItem,"AddListMobileItem(#Mobile, Text$ [, Flags])","Fügt ein Element zur mobilen Liste hinzu","#PB_Mobile_Chevron | #PB_Mobile_NoDivider | #PB_Mobile_LongDivider | #PB_Mobile_Expandable | #PB_Mobile_Tappable | #PB_Mobile_Header | #PB_Mobile_Container"
ListMobile,"Result = ListMobile(#Mobile [, Flags])","Erstellt eine Liste für mobile Geräte","#PB_Mobile_InSet"
ButtonMobile,"Result = ButtonMobile(#Mobile, Text$ [, Flags])","Erstellt einen Button für mobile Geräte","#PB_Mobile_Icon | #PB_Mobile_BackButton | #PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
CheckBoxMobile,"Result = CheckBoxMobile(#Mobile, Text$ [, Flags])","Erstellt eine Checkbox für mobile Geräte","#PB_Mobile_Left | #PB_Mobile_Right"
OptionMobile,"Result = OptionMobile(#Mobile, Text$, Group$ [, Flags])","Erstellt eine Optionsschaltfläche für mobile Geräte","#PB_Mobile_Left | #PB_Mobile_Right"
SwitchMobile,"Result = SwitchMobile(#Mobile [, Flags])","Erstellt einen Schalter für mobile Geräte","#PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
TextMobile,"Result = TextMobile(#Mobile, Text$ [, Flags])","Erstellt ein Textfeld für mobile Geräte","#PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
InputMobile,"Result = InputMobile(#Mobile [, Flags])","Erstellt ein Eingabefeld für mobile Geräte","#PB_InputNumeric | #PB_InputPassword"
TrackBarMobile,"Result = TrackBarMobile(#Mobile, Min, Max, Step [, Flags])","Erstellt eine Schiebereglerleiste für mobile Geräte","#PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
ProgressBarMobile,"Result = ProgressBarMobile(#Mobile [, Flags])","Erstellt eine Fortschrittsanzeige für mobile Geräte","#PB_Mobile_Circular | #PB_Mobile_Indeterminate | #PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
IconMobile,"Result = IconMobile(#Mobile, Name$ [, Flags])","Erstellt ein Symbol für mobile Geräte","#PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
ToolBarMobile,"Result = ToolBarMobile(#Mobile)","Erstellt eine mobile Toolbar am oberen Rand des Containers",""
ImageMobile,"Result = ImageMobile(#Mobile, ImageID [, Flags])","Erstellt ein Bild in einem mobilen Container","#PB_Mobile_Left | #PB_Mobile_Center | #PB_Mobile_Right"
TabBarMobile,"Result = TabBarMobile(#Mobile [, Flags])","Erstellt eine mobile Tab-Leiste","#PB_Mobile_Swipeable"
NavigatorMobile,"Result = NavigatorMobile(#Mobile, Page$ [, Flags])","Erstellt einen Navigator für mobile Geräte","#PB_Mobile_Swipeable"
AddTabBarMobileItem,"AddTabBarMobileItem(#Mobile, Text$, Icon$, ActiveIcon$, Page$ [, NbBadges])","Fügt einen Tab zur mobilen Tab-Leiste hinzu",""
SplitterMobile,"Result = SplitterMobile(#Mobile, Orientation [, Flags])","Erstellt einen mobilen Splitter","#PB_SplitterVertical | #PB_SplitterHorizontal"