How to define the leng of a variable when write or writeline (Language Help)

by jwc3119, Tuesday, August 09, 2011, 06:32 (2899 days ago) @ Atonau


If you are still working on your program, I had this idea. Use a while/endwhile loop to add spaces to the strings you are saving in your data file, something like this...

input n$
while length(n$) < 25
n$ = n$ + " "

# if you need more characters, just change the 25 to a larger number

I hope this helps.

Complete thread:

 RSS Feed of thread

powered by my little forum