Looking for work? Check out our jobs area.

JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 1972
Number of posts: 5015

This Forum Only
Post New Thread

Report
Can javascript open and write to a text file? - windows Posted by rj2046 on 25 Dec 2006 at 9:31 AM
I'm looking for a lightweight language to do simple text search / replacement / filtering. I have many years of C /C++ experience and don't relish the thought of installing visual studio. Any suggestions are welcome. Thanks!
Report
Re: Can javascript open and write to a text file? - windows Posted by zibadian on 25 Dec 2006 at 1:21 PM
: I'm looking for a lightweight language to do simple text search / replacement / filtering. I have many years of C /C++ experience and don't relish the thought of installing visual studio. Any suggestions are welcome. Thanks!
:
Javascript is out of the question. Perhaps VBScript, java or another (non-MS) C++ compiler.
Report
Re: Can javascript open and write to a text file? - windows Posted by rj2046 on 25 Dec 2006 at 7:14 PM
: : I'm looking for a lightweight language to do simple text search / replacement / filtering. I have many years of C /C++ experience and don't relish the thought of installing visual studio. Any suggestions are welcome. Thanks!
: :
: Javascript is out of the question. Perhaps VBScript, java or another (non-MS) C++ compiler.
:

thank you for your reply
Report
Re: Can javascript open and write to a text file? - windows Posted by anthrax11 on 25 Dec 2006 at 1:26 PM
: I'm looking for a lightweight language to do simple text search / replacement / filtering. I have many years of C /C++ experience and don't relish the thought of installing visual studio. Any suggestions are welcome. Thanks!
:

As far as I know, JS can`t do file handling because of security issues. However, you might find Python appropriate for this:
http://en.wikipedia.org/wiki/Python_%28programming_language%29
Report
Re: Can javascript open and write to a text file? - windows Posted by rj2046 on 25 Dec 2006 at 7:15 PM
: : I'm looking for a lightweight language to do simple text search / replacement / filtering. I have many years of C /C++ experience and don't relish the thought of installing visual studio. Any suggestions are welcome. Thanks!
: :
:
: As far as I know, JS can`t do file handling because of security issues. However, you might find Python appropriate for this:
: http://en.wikipedia.org/wiki/Python_%28programming_language%29
:
thank you for your help
Report
Re: Can javascript open and write to a text file? - windows Posted by gimmel on 5 Jan 2007 at 1:26 PM
: I'm looking for a lightweight language to do simple text search / replacement / filtering. I have many years of C /C++ experience and don't relish the thought of installing visual studio. Any suggestions are welcome. Thanks!
:
ACtually You can store anything you need in cookies and put them to expire in something like a year or two years or never, JavaScript is a cool tool for lighweight programming and testing of code, mainly because you'll need nothing to start, no compiler no IDE, nothing as for reading you can allways use streaming HTTP or read it as an open document...



 
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A BootstrapLabs project.