- AuthorPosts
- January 14, 2008 at 10:14 am #5316fgdfg3434Member
!!!!!! Sorry for my english, I am not native english speaker
I have 2 macroses. The first macros include call of second macros through new ‘#include’ directive.
After execution of first macros I have an error:
“Invalid sign/char
File ….1.jsee
Line 3″1.jsee
———————————–
#language = “JavaScript”
Window.document.write( ‘Hello 111 ! ‘);
#include “2.jsee”
———————————–2.jsee
———————————–
#language = “JavaScript”
Window.document.write( ‘Hello 222 ! ‘);
———————————–January 14, 2008 at 6:36 pm #5317Yutaka EmuraKeymasterfgdfg3434 wrote:
!!!!!! Sorry for my english, I am not native english speakerI have 2 macroses. The first macros include call of second macros through new ‘#include’ directive.
After execution of first macros I have an error:
“Invalid sign/char
File ….1.jsee
Line 3″1.jsee
———————————–
#language = “JavaScript”
Window.document.write( ‘Hello 111 ! ‘);
#include “2.jsee”
———————————–2.jsee
———————————–
#language = “JavaScript”
Window.document.write( ‘Hello 222 ! ‘);
———————————–#include and all directives beginning with # must be before any real code. This is because EmEditor cannot distinguish directives inside once the code begins, and so all the directives must be at top of the file.
January 15, 2008 at 6:28 am #5318fgdfg3434Memberoo! tnx
—————————-
#language = “JavaScript”
#include “2.jsee”
Window.document.write( ‘Hello!’ );
—————————-
this is work, but i needed the following
———————————
// comment at top of the file
#language = “JavaScript”
#include “2.jsee”
Window.document.write( ‘Hello!’ );
———————————January 15, 2008 at 6:33 am #5319Yutaka EmuraKeymasterfgdfg3434 wrote:
oo! tnx
—————————-
#language = “JavaScript”
#include “2.jsee”
Window.document.write( ‘Hello!’ );
—————————-
this is work, but i needed the following
———————————
// comment at top of the file
#language = “JavaScript”
#include “2.jsee”
Window.document.write( ‘Hello!’ );
———————————Again, you cannot put // comment at top of the file.
# lines must be at top!Also
Window.document.write( 'Hello!' );
should be
document.write( 'Hello!' );
Correct code:
#language = "JavaScript"
#include "2.jsee"
// comment at top of the file
document.write( 'Hello!' );
January 15, 2008 at 7:51 am #5320fgdfg3434Member# comment at top of the file
#
#language = “JavaScript”
#include “2.jsee”
Window.document.write( ‘Hello!’ );can I make thus?
- AuthorPosts
- You must be logged in to reply to this topic.