XX
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Debug
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-31, Last change: 2025-09-15
Creates comment lines including formated variables with a hyperlink including variables
Description
(Patent pending) Improved Version of %% in Matlab
If called without brackets as string chars such as ';' ',' are not allowed
This is an improved Version of SGcomment could also be named CC (Code comment)
the file name is [ 'SGcmt'] in the desktopdir
Since August 2024 instead of commenting in the source code using % or %%, this function is used in addition, to be able to export comments in a design function also into the folder. In principle, this would also have been possible by parsing the source code, but it is then not possible to export variables because the comment does not allow this.
1st documented function was SGraamboTCPtoolM16ofCPL
See Also: XXprintmode
, titleofcaller
, readtextfile
, writetextfile
Example Illustration
Syntax
XX([comment])
Input Parameter
comment: | | comment line including space and $code$ execution |
Examples
XX ;% will delete the comment file
XX This is a test for a screw M20x5 ;% will be added to the comment file
M=10; L=20; XX The screw has a a size of M$M$x$L$
Copyright 2024-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21