I was wondering about the overhead of querying size of array in fortran. Old fortran (<f95) way was to pass the size of array to the arguments of s ...
I was wondering about the overhead of querying size of array in fortran. Old fortran (<f95) way was to pass the size of array to the arguments of s ...
I have made a sub routine to check for a password and a pre-defined expiry date. The code works, but only upon opening the Excel Workbook. Here is som ...
I am trying to write a VBA macro to copy data from one workbook to another. The code doesn't throw an error, but the subroutine quits at the "Copy" st ...
When passing arrays to procedures, what is best in terms of (1) speed and (2) memory, assumed-shape or explicit shape? A similar question was asked so ...
The user must do the question above or the question keeps repeating so I need a while loop. I need to do this using a subroutine too. My code below is ...
How can I code this using subroutines in java with a loop so if they don't get it right it keeps repeating till they do. This is all i have so far. Th ...
I want to find the execution time of a program I wrote in pascal but i dont know the syntax to do that.. is there a function that calculates it? I sea ...
is it possible to use subroutine with a cpu that doesn't feature indirect addressing nor a way to store the program counter, it would only feature : ...
I'm new to abaqus subroutines and Fortran in general and a bit confused right now. I'm trying to simulate the anelastic heat dissipation during cyclic ...
Say I got a file main.pl and a package package.pm In main.pl I got the function which gets called by which is used as a sorting function & ...
Question The program is supposed to do the following: Add up the first 6 data items ($1 to $6) stored at address label DATA. Store the sum of t ...
I have a file with 5 fields of content. I am evaluating 4 lines at a time in the file. So, records 1-4 are evaluated as a set. Records 5-8 are another ...
I am trying to use a subroutine to splice an array. What am I doing wrong? Output: 1 Expected output: 123123 ...
I am using a subroutine (FORM, ENDFORM) where there is a class-method calling that raises an exception. I am catching the exception from the class-met ...
Shouldn't this code print 2? After q() sub call in r(), the print should see the value changed by q(), but it doesn't. ...
Given the following code: How do I call the sub foo using $call_me? ...
i'm learning perl, and i'm trying to write a program asks you to pick an amino acid and then keeps (randomly) guessing which amino acid you picked. I ...
For example, I have this statik system:enter image description here My goal: I want to investigate the behavior of the beam, when a stiffness of the ...
I'm stuck with an problem parsing text with for loop. I have a folder containing Excel files named after customers, that needs to be archived/encrypt ...
Several times in my code, I do the following. generate a path from the name of a subroutine invoke the subroutine and return a reference to what ...