带有渐近线的当前文件名

时间:2019-05-09 10:41:31

标签: filenames asymptote

是否有获取或测试当前文件名称的指令,以便我可以执行类似的操作

我有文件file1.asy,file2.asy,...。

file1.asy

instructions to be executed in file1 and in file2;
instructions to be executed ONLY in file1;
instructions to be executed ONLY in file2;

(当然,类似这样的多行,顺序并不总是相同的)

file2.asy

import file1; 
some more instructions;

file3.asy

import file1;
some more instructions;

(我尝试制作一些非常相似的动画)

0 个答案:

没有答案