They say a picture is worth a 1,000 words. In this case I think I find that statistic a little “hard to swallow”… LOL! Then again, in case you have no choice in the matter, this might help!
Good advice from an old friend. I wonder if any other scandals will come to light in the coming months before election time.
Debugging can be very time consuming. If you’re using SciTE with AutoHotKey, there is built-in functionality that is very helpful. This video walks through some of the cool debugging features in SciTE. I also have a second debugging with SciTE video that you should check out after watching this one.
Make sure you take the time to review both videos! I guarantee it will increase your speed of developing code and trouble-shooting issues!
#SingleInstance, Force
#NoEnv
Var:=0
OutputDebug Line %A_LineNumber%: A_Index is: %A_Index% and Var is: %Var%
GoSub Looper
MsgBox end of program
return
;***********************First loop********************************.
Looper:
loop, 15
{
var:=Var+A_Index
OutputDebug Line %A_LineNumber%: A_Index is: %A_Index% and Var is: %Var%
var:=Var+10
GoSub SubLooper
}
return
;***********************Sub loop********************************.
SubLooper:
Loop, 3
{
SubLooperVar:=A_Index
OutputDebug Line %A_LineNumber%: A_Index is: %A_Index% and Var is: %Var% and Sublooper index is: %SubLooperVar%
}
return
While SPSS has many strengths, string manipulation is NOT one of them! Don’t get me wrong, you can manipulate strings however the syntax for doing so is very complex.
If you are still using an older version of SPSS, this macro shows how you can easily remove character(s) from a string both anywhere in the string or at a certain location. Newer versions have a Replace command which can be used to remove unwanted characters.
Video demonstrating SPSS macro to remove characters from strings
I don’t know who set up the default toolbars but they clearly don’t work much in the “real world”!
The vast majority of work I do in SPSS is writing syntax however, having a frequency button or a button that empty’s the output screen is a lifesaver! Unfortunately most people don’t take the time to customize their toolbars.
This shows how easy it is to add – delete buttons from the toolbars. While the video shows the process on version 13 of SPSS, the same process works on newer versions.
Video demonstrating how to Customize SPSS Toolbar buttons