I changed the characters I use to create headers and function dividers
to *+ instead of *■, since many of you use a windows editor which was
messed up by the earlier one.
When the *■ are encountered in your programs, those lines are removed
unconditionally.
---
#defines that continue onto more than one line are kept intact
---
do ;
while
do ;
case
Both are reassembled onto one line
---
CLICK.INI has new parameters. Documented in CLICKINI.DOC
---
Function Main(); Return( NIL )
Fixed remaining output when remainder is last line of program.
---
// Reworked inline comments. These work now.
Function Main()
Local n
For n := /* A number the romans didn't have */ 0 To /* The Answer */ 42
? n
Next n
Return( NIL )
Function Main()
Local n
For n := 1 To 42
? n
/* Hello, World */ Next
Return( NIL )
---
If you turn on function indenting, and your function does not end with a
return, Click! starts the next function correctly and without an error
message.
---
@2,17 get LASTNAME color GETCLR WHEN activeBox(1);
picture"@!" valid filled(LASTNAME,"Last Name")
got indented stupidly. Added SMART_ALIGN_MAX_ELEMENTS to fix this.
Without limitation, it aligned like:
@ 2, 17 get LASTNAME color GETCLR WHEN activeBox( 1 );
picture"@!" valid filled(LASTNAME,"Last Name")
because it tried to align to the second element after the ( which was
the 21st element of the line. I have defaulted SMART_ALIGN_MAX_ELEMENTS
to 11 but you might like it even lower.
now it aligns like:
@ 2, 17 get LASTNAME color GETCLR WHEN activeBox( 1 ) ;
picture "@!" valid filled( LASTNAME, "Last Name" )
( DEFAULT_INDENT=8 )