Ok let me fix this.
C2, D2, E2 contain the user variables x1, y1, z1
The data that I want to use starts in B4 and runs throughout the B's. I want the numeric part to appear in C, D, E. x2, y2, z2.
in the same row as the information is extracted appears (c-e) in column h of I want run this...
Column in the first case will contain the "random string (-336179, -111388, 4469).
Some number of rows in between that and then next grouping of data that I want to look at, is two columns of garbage. Usually 15 rows in between.
There is currently nothing in Columns 3-5 yet, but I would like...
Ok, in excel I want to paste some data that will have an unknown set of information in the paste from another program.
The knowns are that the information that I am wanting to use is contained in the string that appears in column 2 within random rows within the worksheet. When I paste the data...
Well that is what I wanted to accomplish, but I just want to do it automatically when I copy a bunch of data into the worksheet.
That information is actually in column 2 but only like every 10 rows, but that is subject to change.
I have a string that is in the form of:
Garbage(-338409,-110472,8275)
Garbage(-336179,-111388,4469)
I want to sort the data out into 3 seperate columns and use them as numbers so I can use them for calculations.
How do I best go about that?
Well I can't accomplish it in Safe mode, same problem. Can't get on the internet to get any other software. IE cant get Microsoft Antispyware to load b/c I can't validate and update.
Thanks for the suggestions.
I have a laptop that I am trying to fix, that is having all types of problems.
The start bar won't appear, cannot uninstall anything from the control panel, internet won't load, the list goes on. Another pressing problem is the MS System restore software won't load either. I have a point...
Ok, I understand your example. So would it be possible to change the value of aNumber iside the function and it be global to the rest of the program?
I ask because I have several values declared like
IX and IY that I need to access in a function, assign that value to another variable, and...
Hmmm.. for some reason when I ran it the first few times I got an object expected error.
So if I declear the variables first and then use them in a subequent function the function changes the value of the global as long as I don't have another variable with the same name decleared in the function?
I read that you can declare varables as global by not including the var infront of it, but when I do:
logFileName = "C:\\scripts\\testlog.txt";
writeLogLine("Hello");
function writeLogLine(msg)
{
var ForReading = 1, ForWriting = 2, ForAppending = 8;
var FTarget, File, MyDate, MyTime...
Ok I wrote this to test out the idea.
x=func();
y=func(65);
z=func(20);
WScript.Echo(x);
WScript.Echo(y);
WScript.Echo(z);
function func(arg)
{
if (arg + '' == 'undefined')
{
arg = 23;
}
if(arg == 65)
{
arg=19;
}
else
{
arg = 95;
}
return(arg);
}
One would expect
x=23
y=19
z=95...
So what would happen if the argument intended to be passed was a bool and I didn't pass it so it was undefined?
function func(arg)
{
if(arg)
statement;
else
statement1;
}
var x = func();
would it return whatever statement1 actually processed? And thanks for that second tidbit of info. That...
If there is a function like
function funname(name)
{
statements;
}
is it possible to call the function without actually passing the function anything?
like
x = funname();
Also, aside from msdn.microsoft.com can anyone recommend a good website/tutorial on objects in JScript?
I have a DLL written in VB 6 that is an addon to a third party product through a hook-in application.
The program works perfectly on intel platforms, but on AMD platforms it crashes at several reproducable points, but they do not coincide with any of the logical places inside the code, ie...
I have an DLL that hooks into another application, so I can't run debuging inside VB6 console.
The problem appears to be with 2 or 3 specific private sub functions. But the weird part is I have two machines. On my intel platform it works fine, on my amd platform it crashes at two particular...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.