Search found 572 matches

by lrcvs
Apr 13, 2017 18:36
Forum: Tips and Tricks
Topic: Formatting numbers
Replies: 3
Views: 1033

Re: Formatting numbers

Hi! DIM AS STRING sa, sb, sc, sd, se DIM AS INTEGER ia, ib, ic CLS ':::::::::::::::::::::::::::::::::::::::::::::::: 'work width integer part sa = "1234567890.543210" sb = LEFT(sa,INSTR(sa,".")-1) '<<< integer part ':::::::::::::::::::::::::::::::::::::::::::::::::::::::: 'separa...
by lrcvs
Mar 31, 2017 16:26
Forum: Tips and Tricks
Topic: A possible trick for files with fixed length records
Replies: 8
Views: 1672

Re: A possible trick for files with fixed length records

Hi: 'The advantage of a file structure with this format is that it is very easy to sort a file, simply indecate the initial position of the field that we want to sort and do: 'p$ = position initial of field 'file1.txt file initial 'file2.txt file sort input "Position to sort = ";p$ cls she...
by lrcvs
Mar 31, 2017 15:31
Forum: Tips and Tricks
Topic: A possible trick for files with fixed length records
Replies: 8
Views: 1672

Re: A possible trick for files with fixed length records

Hi, dodicat: Firstly, thank you as always for your interest and comments. As far as I see your program, clean a text file of empty lines, unnecessary spaces and lines of comments, and leave a clean file of useless things. It is a great program and very useful! Well, I have a similar one, but mine re...
by lrcvs
Mar 30, 2017 16:45
Forum: Tips and Tricks
Topic: A possible trick for files with fixed length records
Replies: 8
Views: 1672

Re: A possible trick for files with fixed length records

Hi, Cherry:

Sorry, I do not understand your comment.
What is your question or doubt?

Regards
by lrcvs
Mar 28, 2017 12:30
Forum: Tips and Tricks
Topic: A possible trick for files with fixed length records
Replies: 8
Views: 1672

Re: A possible trick for files with fixed length records

Hi: Thank you for your interest in the program. Well, as you can see, it's a very simple program, but it solves a problem for me. My data files are of limited length and all fields are well aligned. Until a week ago, I used the command: "instr", well, no problem. But now I want to use a st...
by lrcvs
Mar 27, 2017 19:36
Forum: Tips and Tricks
Topic: A possible trick for files with fixed length records
Replies: 8
Views: 1672

Re: A possible application for "input"

Hi: declare function ctrim (t as string,d as string) as string dim as string a,b,c,d,r dim as integer z,y,x,w a = "a b c d" b = "a b c d" print "a = ";a print "b = ";b print input "You print b = ";c d = ctrim (b," ") r = ctrim (c," &qu...
by lrcvs
Mar 26, 2017 16:07
Forum: Tips and Tricks
Topic: A possible trick for files with fixed length records
Replies: 8
Views: 1672

A possible trick for files with fixed length records

Hi! DIM AS INTEGER a0i, a1i, a2i, a3i, a4i, a5i, a6i, a7i, a8i, a9i, b0i, b1i, b2i, b3i, b4i, b5i, b6i, b7i, b8i, b9i, e0i,e1i DIM AS STRING a0s, a1s, a2s, a3s, a4s, a5s, a6s, a7s, a8s, a9s, b0s, b1s, b2s, b3s, b4s, b5s, b6s, b7s, b8s, b9s, c0s, c1s, c2s, c3s, c4s, c5s, c6s, c7s, c8s, c9s, d0s, d1s,...
by lrcvs
Jan 29, 2017 19:13
Forum: Projects
Topic: Writer project (template to write a book)
Replies: 20
Views: 2606

Re: Writer project (template to write a book)

Hi, datwill310:

Well, you can do it!

1) compile the program
2) create a folder
3) copy the program into the new folder
4) "Run" program and ok!
by lrcvs
Jan 29, 2017 18:17
Forum: Projects
Topic: Writer project (template to write a book)
Replies: 20
Views: 2606

Re: Writer project (template to write a book)

Hi, datwill310 Well, you may be right! The advantage of so many files is that if you delete a file by mistake, the others are maintained and you do not lose all the information. Here we say: "... about tastes there is nothing written ..." Here you have a new version with a single file.! 'p...
by lrcvs
Jan 29, 2017 8:42
Forum: Projects
Topic: Writer project (template to write a book)
Replies: 20
Views: 2606

Re: Writer project (template to write a book)

Hi This is the ver#2 of template to write a book (My concept of division of a book is: acts, chapters, parts) STEPS: 1) Create a new book 2) Create new parts 3) Create the parts of text of the book 4) Create the book Note: NO WRITE: ";" - "," 'program to create a book 'lrcvs 29.0...
by lrcvs
Jan 24, 2017 21:11
Forum: Projects
Topic: Writer project (template to write a book)
Replies: 20
Views: 2606

Re: Writer project (template to write a book)

Hi, datwill310

" datwill310 wrote: but it is YOUR app after all


Ok, but ...

... Knowledge / ideas if they are not shared, is useless...

... Our current ideas / knowledge are based on other previous ideas / knowledge ... etc, etc

Regards
by lrcvs
Jan 22, 2017 18:26
Forum: Projects
Topic: Writer project (template to write a book)
Replies: 20
Views: 2606

Re: Writer project (template to write a book)

Hi,datwill310

Wow!

Simple and very very very good!
by lrcvs
Jan 22, 2017 13:44
Forum: General
Topic: Query: SETTIME
Replies: 8
Views: 858

Re: Query: SETTIME

Hi, grindstone :

My system is W7 32 bits.
No problem, the program was only a test.
Thank you!
by lrcvs
Jan 22, 2017 8:04
Forum: General
Topic: Query: SETTIME
Replies: 8
Views: 858

Re: Query: SETTIME

Hi, grindstone :

OK thanks.!

In my system it does not work well.
by lrcvs
Jan 21, 2017 16:58
Forum: Projects
Topic: Writer project (template to write a book)
Replies: 20
Views: 2606

Re: Writer project (template to write a book)

Yes!

Yes, you can post what you want.

This program is a simple experiment and is free

Go to advanced search