Search found 25 matches

by ptitjoz
May 10, 2018 12:01
Forum: Documentation
Topic: documentation epub format or (odt)
Replies: 2
Views: 420

documentation epub format or (odt)

Hello,
Do you have a documentation in epub format for ebooks!, (or at the format odt (for Libreoffice))
thanks if you have that.

Regards
by ptitjoz
May 06, 2018 20:11
Forum: Beginners
Topic: cannott run on lubuntu 18.04 64bits curses
Replies: 7
Views: 636

Re: cannott run on lubuntu 18.04 64bits curses

sorry i put fpc in place of fbc
I like too FPC and I try FBC
Regards
by ptitjoz
May 05, 2018 15:51
Forum: Beginners
Topic: cannott run on lubuntu 18.04 64bits curses
Replies: 7
Views: 636

Re: cannott run on lubuntu 18.04 64bits curses

do yo have an idea ? Whenever a lib is missing go to terminal and do sudo apt-cache search libncurses or similar. This shows a list of related packages. Mostly one with the ending "dev" is the right. Maybe "libncurses5-dev" is the right in this case. then try sudo apt-get instal...
by ptitjoz
May 05, 2018 15:07
Forum: Beginners
Topic: cannott run on lubuntu 18.04 64bits curses
Replies: 7
Views: 636

cannott run on lubuntu 18.04 64bits curses

Hello i installed fbc fbc --version FreeBASIC Compiler - Version 1.05.0 (01-31-2016), built for linux-x86_64 (64bit) Copyright (C) 2004-2016 The FreeBASIC development team. when I try to compile a sample hello.bas print "hello.bas" i have this message (french) : fbc hello.bas ld : ne peut ...
by ptitjoz
Apr 11, 2018 12:49
Forum: Beginners
Topic: [Cancelled] Sqlite Open Pipe question
Replies: 0
Views: 408

[Cancelled] Sqlite Open Pipe question

Hello With this code I get the good results. But what else can we do? and especially using OPEN PIPE for the output file? Thank you for your remarks. Best regards ' Executer une requête sql depuis FreeBasic et Linux" ' On prend Sqlite3 à qui l'on passe les ordres sql Const crlf =Chr(13)&Chr...
by ptitjoz
Apr 10, 2018 16:57
Forum: Beginners
Topic: function Split
Replies: 27
Views: 1567

Re: function Split

thank you very much
the xchm crash
I downloaded the pdf it's ok!
Best regards
by ptitjoz
Apr 10, 2018 14:49
Forum: Beginners
Topic: function Split
Replies: 27
Views: 1567

Re: function Split

Yes, it's true that copying and pasting does not help you to learn well. That depends also, on your preferred *way of learning*. Downloading OPC (OPC = other peoples code), isn't necessarily a *bad thing*. Provided, you study the *way its done* and, the reasons, for doing it *this way*. You might h...
by ptitjoz
Apr 09, 2018 14:18
Forum: Beginners
Topic: function Split
Replies: 27
Views: 1567

Re: function Split

Hello Many things to see to understand. This forum is rich in your contributions and it is difficult for me to understand everything (and English does not help) Yes, it's true that copying and pasting does not help you to learn well. That's why I'm doing my experiments trying to help you with the do...
by ptitjoz
Apr 09, 2018 7:48
Forum: Beginners
Topic: function Split
Replies: 27
Views: 1567

Re: function Split

Hello Many solutions have arrived! thank you all. As I am a little self taught I looked at this code (a little modified) because it seems efficient and easy encoding. Some small questions: Thanks D.J.Peters I thought it was necessary to declare the variables by DIM but apparently using var it can si...
by ptitjoz
Apr 08, 2018 21:14
Forum: Beginners
Topic: function Split
Replies: 27
Views: 1567

function Split

Hello

Do you have a function that cuts a string in a array?

example :
s:="aaaa;bbbbbb;ccccc;ddddddd;eeeeee"

call funtion split...

result :
t[1] "aaaa"
t[2] "bbbbbb"
t[3] "ccccc"
t[4] "ddddddd"
t[5] "eeeeee"

Regards
by ptitjoz
Apr 08, 2018 20:04
Forum: Beginners
Topic: how to set the dates?
Replies: 28
Views: 1444

Re: how to set the dates?

Hello
badidea wrote:
I'm running Linux and date /T does not work (I guess it's a DOS command?)

For linux command line, typ date --help for all options. (there are many).
I would go for a platform-independent solution however.

hello, that's why I put this syntax date +%d/%m/%Y that I had in man date

Regards
by ptitjoz
Apr 08, 2018 18:35
Forum: Beginners
Topic: how to set the dates?
Replies: 28
Views: 1444

Re: how to set the dates?

Thank you for your constructive responses! I'm running Linux and date /T does not work (I guess it's a DOS command?) Does Open Pipe write in memory? because there is no generated file. with this code it works well ' Test recupération date sous LINUX !! Function systemdate() As String Dim s As String...
by ptitjoz
Apr 08, 2018 12:52
Forum: Beginners
Topic: how to set the dates?
Replies: 28
Views: 1444

Re: how to set the dates?

Hello I am testing other solutions... By retrieving the system date it should be a procedure or a function but I do not know (yet) to do it. Is it a good idea ? Regards 'Test recupération date sous Linux Dim DateSystem as string shell "date +%d/%m/%Y > date.tmp" Open "date.tmp" F...
by ptitjoz
Apr 08, 2018 6:49
Forum: Beginners
Topic: how to set the dates?
Replies: 28
Views: 1444

Re: how to set the dates?

Hello everyone. Thank you for this discussion and the lines of code. Being French does not change much. (except that I have trouble writing in English) If I can give my opinion, I would say that we have to be pragmatic. For a beginner, if the code is simple, it's better. For the internationalization...
by ptitjoz
Apr 07, 2018 13:21
Forum: Beginners
Topic: how to set the dates?
Replies: 28
Views: 1444

Re: how to set the dates?

Thanks you very much
it's ok !
Regards.

Go to advanced search