Okay folks,
i will experiment whith that.
so thank you very much for your help.
It is always very nice to get help when you have a problem !!!
Wim
Search found 290 matches
- Mon Mar 25, 2024 12:54 pm
- Forum: Coding Questions
- Topic: quick reading a file of 15 GByte.... how?
- Replies: 22
- Views: 3865
- Mon Mar 25, 2024 12:37 pm
- Forum: Coding Questions
- Topic: quick reading a file of 15 GByte.... how?
- Replies: 22
- Views: 3865
Re: quick reading a file of 15 GByte.... how?
It depends of the kind of processing i am doing.
something between 2 and 10 times a day when i am processing.
And it is rather irritating to wait 2 minutes when you are busy and thinking.
something between 2 and 10 times a day when i am processing.
And it is rather irritating to wait 2 minutes when you are busy and thinking.
- Mon Mar 25, 2024 10:51 am
- Forum: Coding Questions
- Topic: quick reading a file of 15 GByte.... how?
- Replies: 22
- Views: 3865
Re: quick reading a file of 15 GByte.... how?
Hi Infratec, long time no see !
to start again: here is the whole situation:
Here is the inputfile , the whole program and the outputfile.
input-file: contains normally 300000000 lines
;=========================================
7330159897,1710707880,DK5HH/3,JO43jb,-5,3.570107,PA0AF,JO33kg,43,0 ...
to start again: here is the whole situation:
Here is the inputfile , the whole program and the outputfile.
input-file: contains normally 300000000 lines
;=========================================
7330159897,1710707880,DK5HH/3,JO43jb,-5,3.570107,PA0AF,JO33kg,43,0 ...
- Mon Mar 25, 2024 7:57 am
- Forum: Coding Questions
- Topic: quick reading a file of 15 GByte.... how?
- Replies: 22
- Views: 3865
Re: quick reading a file of 15 GByte.... how?
I am a simple programmer and my style is coming from the years 1980
i like to keep things simple.
let me be clear....
the huge file contains a lot of lines.
i like to extract only the lines containing "PA0SLT" and write them to an other file.
so the result will be a small file containing only ...
i like to keep things simple.
let me be clear....
the huge file contains a lot of lines.
i like to extract only the lines containing "PA0SLT" and write them to an other file.
so the result will be a small file containing only ...
- Sun Mar 24, 2024 7:58 pm
- Forum: Coding Questions
- Topic: quick reading a file of 15 GByte.... how?
- Replies: 22
- Views: 3865
quick reading a file of 15 GByte.... how?
Hi folks,
I have to read a very big file.
first action is to select lines with a certain string.
then take other actions.
If a select only the reading line, i have this:
If ReadFile(0, file$)
While Eof(0) = 0
regel$ = ReadString(0)
; do something
Wend
CloseFile(0)
Else ...
I have to read a very big file.
first action is to select lines with a certain string.
then take other actions.
If a select only the reading line, i have this:
If ReadFile(0, file$)
While Eof(0) = 0
regel$ = ReadString(0)
; do something
Wend
CloseFile(0)
Else ...
- Tue Mar 19, 2024 11:41 am
- Forum: Coding Questions
- Topic: i need a simple routine to convert unix-time to date-time
- Replies: 3
- Views: 609
Re: i need a simple routine to convert unix-time to date-time
Hi Kiffy,
again...it works like a charm.
i also found now the date command for the other way around.
It is much faster than my old program... that program used 36 lines of code.....
again, thank you very much
Wim
again...it works like a charm.
i also found now the date command for the other way around.
It is much faster than my old program... that program used 36 lines of code.....
again, thank you very much
Wim
- Tue Mar 19, 2024 11:31 am
- Forum: Coding Questions
- Topic: i need a simple routine to convert unix-time to date-time
- Replies: 3
- Views: 609
Re: i need a simple routine to convert unix-time to date-time
ho Kiffy
so that is a very quick response,
i go try it.
thank you very much
Wim
so that is a very quick response,
i go try it.
thank you very much
Wim
- Tue Mar 19, 2024 11:17 am
- Forum: Coding Questions
- Topic: i need a simple routine to convert unix-time to date-time
- Replies: 3
- Views: 609
i need a simple routine to convert unix-time to date-time
Hi folks,
I need a simple routine to convert unix date-time to a date and time notation.
Unix date-time is the number of seconds since 1-1-1970.
so this amount of seconds must be changed in a date like 28-03-2024 and 12hours and 25 seconds ( as an example)
i can calculate date to unix time, but ...
I need a simple routine to convert unix date-time to a date and time notation.
Unix date-time is the number of seconds since 1-1-1970.
so this amount of seconds must be changed in a date like 28-03-2024 and 12hours and 25 seconds ( as an example)
i can calculate date to unix time, but ...
- Thu Mar 16, 2023 4:09 pm
- Forum: Coding Questions
- Topic: how can i get a bigger font size ?
- Replies: 4
- Views: 691
Re: how can i get a bigger font size ?
Okay wombats and Caronte 3D
my problem is solved.
How simple can it be.
thank you very much
Wim Apon
my problem is solved.
How simple can it be.
thank you very much
Wim Apon
- Thu Mar 16, 2023 11:05 am
- Forum: Coding Questions
- Topic: how can i get a bigger font size ?
- Replies: 4
- Views: 691
Re: how can i get a bigger font size ?
Hi Caronte 3D,
Yes, it works . thank you very much,
but what is the standard purebasic font, so that i can return to the normal text.
Wim
Yes, it works . thank you very much,
but what is the standard purebasic font, so that i can return to the normal text.
Wim
- Wed Mar 15, 2023 8:55 pm
- Forum: Coding Questions
- Topic: how can i get a bigger font size ?
- Replies: 4
- Views: 691
how can i get a bigger font size ?
Hi folks,
i normaly use the ***** DrawText(xw,yw,"Hello world ") ***** command.
Is is possible to make the size of the signs bigger?
for example: twice the size?
Wim
i normaly use the ***** DrawText(xw,yw,"Hello world ") ***** command.
Is is possible to make the size of the signs bigger?
for example: twice the size?
Wim
- Mon Feb 28, 2022 2:30 pm
- Forum: Coding Questions
- Topic: naugty problem with for next in grid calculations
- Replies: 33
- Views: 3623
Re: naugty problem with for next in grid calculations
okay Rashad,
Your idea is awesome
i like to do: for i = a to b step c
pure basic does not allow this.
only this works: for i = a to b step 5
so if i do it the way below, this problem is solved.
It is a bit dirty, but it works
Thanks.
a = 5
b = 20
c = 5
For i = a To b
; do the ...
Your idea is awesome
i like to do: for i = a to b step c
pure basic does not allow this.
only this works: for i = a to b step 5
so if i do it the way below, this problem is solved.
It is a bit dirty, but it works
Thanks.
a = 5
b = 20
c = 5
For i = a To b
; do the ...
- Mon Feb 28, 2022 1:54 pm
- Forum: Coding Questions
- Topic: naugty problem with for next in grid calculations
- Replies: 33
- Views: 3623
Re: naugty problem with for next in grid calculations
hi Infratec, long time no see. good to see you again.
Thanks for your replay.
I did in the early days a lot of assembler programming.
I do know what you mean, but in that days gwbasic and quickbasic did not have that problem.
My problem is: for i = a to b step c does not work if c is an integer ...
Thanks for your replay.
I did in the early days a lot of assembler programming.
I do know what you mean, but in that days gwbasic and quickbasic did not have that problem.
My problem is: for i = a to b step c does not work if c is an integer ...
- Sun Feb 27, 2022 7:21 am
- Forum: Coding Questions
- Topic: naugty problem with for next in grid calculations
- Replies: 33
- Views: 3623
Re: naugty problem with for next in grid calculations
Okay BarryG,
It is a pitty!
thanks anyway again
Wim
It is a pitty!
thanks anyway again
Wim
- Sat Feb 26, 2022 12:34 pm
- Forum: Coding Questions
- Topic: naugty problem with for next in grid calculations
- Replies: 33
- Views: 3623
Re: naugty problem with for next in grid calculations
thank you mk-soft,
i will experiment with that.
Wim
i will experiment with that.
Wim