Post by Roger Cabo on Oct 5, 2022 17:55:39 GMT 1
Hi everyone,
I read through the GfaEdExt.pdf. There are so many restricted irritating information that seems to be not true currently.
I wrote a simple extension:
RogerEdExt.g32
* Compiled and copied the compiled RogerEdExt.gll into GFABASIC32/BIN
* The manual says: Copy the RogerEdExt.g32 as well into the /GFA-BASIC32 folder.... Okay Done!
The PDF says: Currently only one editor extension is allowed, which always bear the name GfaEdExt.g32 and are related directory of GFA-BASIC 32 itself.
* Loaded the RogerEdExt.gll into the Extension Manager.
But nothing happen when pressed F9 on restarting GFABasic.
My questions:
1) Do I have to compile this files as gll ? // The pfd says. "GFABASIC will compile the extension by it's own because of security reasons".. So I don't have to compile?
2) Where I have to save the RogerEdExt.g32 to get it to work? // The pfd says "copy into GFABASIC32\ " .. really?
4) The Pdf says: At the moment there are no file operations directly within GfaExExtpossible. Is this true?
I really appreciated some help in this case.
Thank you very much!
I read through the GfaEdExt.pdf. There are so many restricted irritating information that seems to be not true currently.
I wrote a simple extension:
RogerEdExt.g32
(***********************************************************)
(* GFA-BASIC 32 EDITOR EXTENSIONS *)
(***********************************************************)
Sub Gfa_init // wird automatisch beim Laden des Basic aufgerufen
// Diese Prozedur wird unmittelbar nach dem Laden und
Sub Sub_Gfa_F9
'Als "Ausgabe" sind insbesondere Debug.Print und MsgBox möglich, oder
'eine Änderung im Programmtext natürlich, sowie Gfa_StatusText =
MsgBox "Pressed F9"
EndSub
* Compiled and copied the compiled RogerEdExt.gll into GFABASIC32/BIN
* The manual says: Copy the RogerEdExt.g32 as well into the /GFA-BASIC32 folder.... Okay Done!
The PDF says: Currently only one editor extension is allowed, which always bear the name GfaEdExt.g32 and are related directory of GFA-BASIC 32 itself.
* Loaded the RogerEdExt.gll into the Extension Manager.
But nothing happen when pressed F9 on restarting GFABasic.
My questions:
1) Do I have to compile this files as gll ? // The pfd says. "GFABASIC will compile the extension by it's own because of security reasons".. So I don't have to compile?
2) Where I have to save the RogerEdExt.g32 to get it to work? // The pfd says "copy into GFABASIC32\ " .. really?
4) The Pdf says: At the moment there are no file operations directly within GfaExExtpossible. Is this true?
I really appreciated some help in this case.
Thank you very much!