| … | |
… | |
| 1250 | # Some constants that can be used in perl experssions |
1250 | # Some constants that can be used in perl experssions |
| 1251 | # |
1251 | # |
| 1252 | |
1252 | |
| 1253 | sub i () { |
1253 | sub i () { |
| 1254 | # check if Parser.pl is loaded, otherwise use Complex package |
1254 | # check if Parser.pl is loaded, otherwise use Complex package |
| 1255 | if (!eval(q!$main::_parser_loaded!)) {Complex::i} |
1255 | if (!eval(q!$main::_parser_loaded!)) {return Complex::i} |
| 1256 | return Value->Package("Formula")->new('i')->eval; |
1256 | return Value->Package("Formula")->new('i')->eval; |
| 1257 | } |
1257 | } |
| 1258 | sub j () { |
1258 | sub j () { |
| 1259 | if (!eval(q!$main::_parser_loaded!)) {return 'j'} |
1259 | if (!eval(q!$main::_parser_loaded!)) {return 'j'} |
| 1260 | Value->Package("Formula")->new('j')->eval; |
1260 | Value->Package("Formula")->new('j')->eval; |