This information could be taken from the definition line (or the line directly below the function header), when a certain marker will be seen (e.g. '>>'):
Code: Select all
Procedure.s ShortString(s.s,n); >> add this comment to the status help...
; >> ...or this?
If Len(s)>n
ProcedureReturn Left(s,n)+"…"
Else
ProcedureReturn s
EndIf
EndProcedure
ShortString(s.s,n.i) – shorten string 's' to a maximum length of 'n', by adding '...'
now