Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: CJason
  • Order by date
  1. CJason

    javascript not executing

    Here is some snippets of code that I "hope" explain my issue. Generated HTML (paraphrasing) <form name="thisisit" action="doit.asp" method="post"> doit.asp <%@ Language=VBScript%> <script language="javascript"> alert("Output this!") </script> The problem is that "Output this!" never pops...
  2. CJason

    javascript not executing

    Yep, I realize that. I was just hoping that someone would have run into something similiar to this, and could respond with a simple "Oh, yes...this happened to me and this is how I resolved it". I guess I'll keep testing myself, unless others have an idea.
  3. CJason

    javascript not executing

    I am having an issue where it appears that nothing is getting "executed" outside the <% %>. I can even put junk there...nothing happens. I guess I don't really care about the "junk" scenario...what I'm simply trying to do is a javascript "alert". It works on the main .asp script, but when I...
  4. CJason

    Execute shell commands, capture output problem

    But, what if the paths change...i.e., you run the script on a different platform? You may have to go thru and change all the paths, correct? If you leave the paths off...you should be good to go on any platform, correct?
  5. CJason

    Execute shell commands, capture output problem

    That was it!! Here is the WORKING code: @results = `make abc.exe 2>&1 | grep -P '((undefined reference to|\\.exe)\\s)'`; Thanks for your help!!
  6. CJason

    Execute shell commands, capture output problem

    Tried adding the paths...still doesn't work. FYI: The code above works fine until I add the "| grep ....". That is, the make output lines get put into the array just fine without the pipe portion. Any other ideas?
  7. CJason

    Check entry if it empty

    Could you explain what you mean by "entry"?
  8. CJason

    Execute shell commands, capture output problem

    All, I have the following snippet of perl code: @results = `make abc.exe 2>&1 | grep -P '((undefined reference to|\.exe)\s)'`; This command works fine from the shell prompt, but within my perl script nothing is returned into @results?? Any ideas on why this is the case...and what to do about...
  9. CJason

    My Output is wrong...

    That's really hard to read!? Anyway, it looks like you have a type-o: \d{1.3} Notice the "." as opposed to ",". Hope this helps.
  10. CJason

    Define &quot;TRUE&quot; as 1

    Cool! That just might work for me!! Thanks for the pointer!
  11. CJason

    Define &quot;TRUE&quot; as 1

    Is there a way to define the text "TRUE" to be interpreted as 1 and "FALSE" interpreted as 0? For example: $a = "FALSE"; if (!$a) { print "IT IS FALSE\n"; } In the above, I'd like it to print "IT IS FALSE\n"; Thanks!
  12. CJason

    undef AoHoA

    It turns out this is something a little more complex. I'm sending this AoHoA to a subroutine in a .pm file. It seems that once the AoHoA is set in the .pm, it doesn't ever get undef'ed...even when I undef the AoHoA being passed into the subroutine? Any ideas? If this isn't clear, please let me...
  13. CJason

    undef AoHoA

    How do you "undefine" an Array of Hashes of Arrays? It must not be as simple as: undef @AoHoA; because, I can't seem to get that do work? I have @AoHoA that is filled. I want to clear that structure out completely...so that the test (for example): if (defined($AoHoA[0])) fails. That is, it's...
  14. CJason

    Send date/time from fortran to C

    I am wanting to send a fortran date (what form should this be...real*8, integer*8, etc...???) into a C function, then that C function return if the input date is in Daylight Savings time or not. Any ideas on how I could pass this info back and forth from Fortran to/from C? Thanks in advance!!
  15. CJason

    INQUIRE with UNIT=0

    I'm simply trying to do an INQUIRE to see if a certain UNIT number is OPENED. However, when the UNIT is 0, it returns that it is OPENED. This is different than the behavior on VMS...UNIT 0 is not a valid UNIT number. Does anyone know how to make Linux treat 0 as not valid....or maybe some other...
  16. CJason

    INQUIRE with UNIT=0

    I'm running Fortran on Linux, using the Intel compiler (11.x). My INQUIRE statements are telling me that UNIT=0 is OPENED. When I look at the filename, it tells me "/dev/pts/1". This is code that I've ported from VMS to Linux. Does VMS and Linux fortran differ in that UNIT 0 is now the terminal...
  17. CJason

    Passing Fortran CHAR*(*) to C

    Version 11. What do you mean by "support the C interface"? It's true that I've been successfully interfacing Fortran and C with "normally defined" fortran characters (like CHARACTER*10). But, the problem occurs with the CHARACTER*(*) declarations. Any ideas?
  18. CJason

    Passing Fortran CHAR*(*) to C

    I'm using the Intel compiler on Linux. I'm attempting to pass a Fortran string variable defined as: CHARACTER*(*) THIS to a C function. I've passed character strings from Fortran to C MANY times...with no real issues. However, trying to pass a variable declared as above, proves very...
  19. CJason

    Make all variables &quot;local&quot;

    Thanks for the encouragement, Trojan!! Believe me, I need it!!!

Part and Inventory Search

Back
Top