vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.14k stars 136 forks source link

Added support for folds in the same file #123

Closed apik closed 8 years ago

apik commented 8 years ago

Can be used as:

include # foldname

Here is a code example (to be placed in file unnamedfold.frm):

#-

#include unnamedfold.frm # f1

#include # f1

.end

*--#[ f1 :
        #message fold included
*--#] f1 :
tueda commented 8 years ago

It looks like a syntax sugar of

#include `NAME_' # f1
apik commented 8 years ago

I agree with you and going to close pull request, just forgotten about preprocessor variables.