View Issue Details

IDProjectCategoryView StatusLast Update
0037715pas2jstranspilerpublic2020-11-10 22:57
Reporterlxpbuaa Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2.0.0 
Summary0037715: Please implement special includes
DescriptionHi sir,
Many modes have been supported by $include, such as %date%, %currentroutine% . Can you add %unitname / file name% and other modes? I need to insert other files with the same name but different extensions in the pas file.
Thanks!
TagsNo tags attached.
Fixed in Revision928
Attached Files

Activities

Michael Van Canneyt

2020-11-10 22:57

administrator   ~0126829

Added %filename% %unit% and '%module%.
The latter 2 are equivalent: they print the unit/program/library name.

%filename% is the filename part of the current module, this is different from the already existing %file% which will contain the filename as the compiler found it.

(so in fact %fileName% = extractFilename(%file%)

Issue History

Date Modified Username Field Change
2020-09-07 04:26 lxpbuaa New Issue
2020-09-07 07:16 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-09-07 07:16 Michael Van Canneyt Status new => assigned
2020-11-10 22:57 Michael Van Canneyt Status assigned => resolved
2020-11-10 22:57 Michael Van Canneyt Resolution open => fixed
2020-11-10 22:57 Michael Van Canneyt Fixed in Version => 2.0.0
2020-11-10 22:57 Michael Van Canneyt Fixed in Revision => 928
2020-11-10 22:57 Michael Van Canneyt Note Added: 0126829