PDA

View Full Version : the github-thing



ReneMiner
29-08-2020, 09:32
i tried for some reason the thinbasic-msxml to test - downloaded including the help-files from thinbasic-github.
Errmm, yes. I have some data on my hd now. But what is supposed to be associated help files is...

no data.

No help.

Not able to open.

I am helpless.

----

And i downloaded a pdf-sample (pdf.zip) by Petr - to demonstrate how to load and display *.pdf/*.fdf files in thinBasic.

here or there? sorry - I don't remember where. It was in the forums i am certain :(

All i know it's not functioning at all - maybe overaged.

Petr Schreiber
29-08-2020, 12:17
Hi Rene,

as the ReadMe.md mentions, the project is created using PowerBASIC for Windows.

You need this compiler to compile the module.

If Git and GitHub is a new thing for you completely, I would suggest you first to learn:
- what is a repository
- what is a branch
- what is a pull request

You can learn more here:
https://thinbasic.github.io/book-practical_guide_to_git/introduction.html

Git is a tool for version control, fully replacing the need to backup your project to ZIP files, backup directories and so on. It allows you to take snapshots at given time, and return to any state of the project even if you run out of Undo in your IDE (simplified view, but this is where I see a value :)). Another level of added value is that it adds the ability to collaborate on the same files with multiple people, thanks to storage at GitHub / GitLab / Stash / ... other hostings.

I suggest to start experimenting with git first:
- I suggest to get Git for Windows and GitExtensions to be able to visually track changes
- Excercise:
--> create an empty directory (hint: git clone)
--> create a text file there and create a commit (hint: git status, git add, git commit)
--> change the file and create a new commit
--> use GitExtensions to view the directory and what happened in there. Examine the Diff between the commits


Once confident, you gained a skill required for most developer positions (congratulations!) and you can proceed to module contribution.


Let me know if this helps,
Petr

ReneMiner
29-08-2020, 15:32
No, that will not repair the broken Help-Files that get shipped with the xml-samples there.
Also it does not fix the issue with your posted example: https://www.thinbasic.com/community/showthread.php?12073-Creating-PDF-file-from-ThinBASIC&highlight=Pdf-file

;)

Petr Schreiber
30-08-2020, 14:27
Hi Rene,

I was not sure what is your intent, I though you want to work with the code.

The help file is not part of the repo, Eros has one master Help file, which currently cannot be shared easily (commercial tool).
Please report any issues to https://www.thinbasic.com/community/forumdisplay.php?202-Help-Material.


Thanks a lot,
Petr

Petr Schreiber
30-08-2020, 14:53
As for PDF, I updated the code here: https://www.thinbasic.com/community/showthread.php?12073-Creating-PDF-file-from-ThinBASIC&p=88575&viewfull=1#post88575


Petr