Sub UnselectTextBoxes() Dim c As New Collection For Each s In ActiveWindow.Selection.ShapeRange If s.TextFrame.HasText <> msoTrue Then c.Add s End If Next ActiveWindow.Selection.Unselect For Each s In c s.Select MsoTriState.msoFalse Next End Sub
System.WeakReference<T>
Sub UnselectTextBoxes() Dim c As New Collection For Each s In ActiveWindow.Selection.ShapeRange If s.TextFrame.HasText <> msoTrue Then c.Add s End If Next ActiveWindow.Selection.Unselect For Each s In c s.Select MsoTriState.msoFalse Next End Sub
感谢Bloodblaze提供的一道简单的题目。以下是一个使用Fortran90进行DFS遍历的例子。具体题面稍后再说。
感谢Wikibooks和StackOverflow。如果没有他们,我是不可能在一夜之间入门Fortran的;-)
另外,我在网上找到了这些资源可供参考: Continue reading “教练,我想学FOR……FORTRAN”