#73344 - 2003-02-24 05:51 AM
Re: TaskScheduleControl() - comments
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Thanks again Glenn.
I'll work with Lonkero and Howard if I need to, to make sure we properly collect that file.
Size of the post is not an issue. You can post the entire UDF, DOCS, NOTES, SAMPLES in one post. We simply ask that once it is complete that it be DISCUSSED in the Scripts forum, not the UDF forum.
|
Top
|
|
|
|
#73352 - 2003-02-26 11:40 PM
Re: TaskScheduleControl() - comments
|
Glenn Barnas
KiX Supporter
Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
|
Well, I use 2 spaces per indent-level in the code, but in comments, I use tabs.
The header section before each function is the biggest problem, but I also use a TAB (or more) between the code and the semicolon for inline comments. Keeps the comments far enough out of the code to remain visible.
< OPINION > Fonts? code should be viewed in fixed-width fonts, period. < /OPINION >
It doesn't matter what font you use to edit in, but for printing, fixed width fonts like courier or lucida console allow you to maintain spacings easily. Since the CODE tags presents its data in fixed width fonts, converting tabs to multiples of 8 spaces should be easy if a line character position is calculated. The MOD function would return the number of spaces to reach the next "tab stop".
Anyway, it's clear now what happened to my tabs.. what about the missing indent when I copied from the BBS and pasted into WordPad???
Glenn [ 26. February 2003, 23:41: Message edited by: Glenn Barnas ]
_________________________
Actually I am a Rocket Scientist!
|
Top
|
|
|
|
#73359 - 2003-03-10 08:51 AM
Re: TaskScheduleControl() - comments
|
Jochen
KiX Supporter
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 425 anonymous users online.
|
|
|