Questions
Posted: Thu Sep 21, 2017 11:58 am
Is there a file delete command?
I just searched the Files section and didn't see one.
Is there a command to give the size of an array? In the Save Font Names program I just posted, I used the #.fontlist command to create
an array containing all font names. But I didn't know how to read its size. I tried using, #.size(), but it just gave me the number of dimensions (1), not the number of elements. When I used #.writelines() to write the array to a file, I still could not figure out how many lines were written, so I could not add the line "x files written".
I just searched the Files section and didn't see one.
Is there a command to give the size of an array? In the Save Font Names program I just posted, I used the #.fontlist command to create
an array containing all font names. But I didn't know how to read its size. I tried using, #.size(), but it just gave me the number of dimensions (1), not the number of elements. When I used #.writelines() to write the array to a file, I still could not figure out how many lines were written, so I could not add the line "x files written".