This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
fmt.Println("for-loop:") | |
ii := 1 | |
for ii < 100 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Enum CodeInfoEnum | |
ciEnums | |
ciConstants | |
End Enum | |
'--------------------------------------------------------------------------------------- | |
' Procedure : CodeInfo | |
' | |
' Author : RMittelman@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub Worksheet_Change(ByVal target As Range) | |
FirstCode target | |
SecondCode target | |
End Sub | |
Private Sub FirstCode(ByVal target As Range) | |
Dim Item As String | |
Dim SearchRange As Range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Sub TestMe() | |
Dim errorArray() | |
Dim checkArray As Integer | |
Dim errorString As String | |
Dim c As Range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Hanna | |
{ | |
class Startup | |
{ | |
static void Main() | |
{ | |
String input = "12.12.2222"; | |
int[] x = { 0, 0, 0 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wkb.wks.Range("A1") = 213 | |
wkb.wks.Range("B1") = 322 | |
wkb.wks.Range("C1") = 32232 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write in the immediate window the following: | |
s = "2" | |
?[s] | |
?Evaluate(s) | |
a = 2 | |
?[a] | |
?Evaluate(a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Option Private Module | |
Sub Testing() | |
Dim strCell As String | |
With ActiveSheet | |
strCell = Left(.Cells(1, 1), 5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub btnExit_Click() | |
RaiseEvent OnExit | |
End Sub | |
Private Sub UserForm_QueryClose(CloseMode As Integer, Cancel As Integer) | |
If CloseMode = vbFormControlMenu Then | |
Cancel = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class t01 | |
{ | |
static void Main() | |
{ | |
string str_read = ""; | |
long long_total = long.Parse(Console.ReadLine()); | |
long long_left; | |
long long_right; | |
long long_answer = 0; |
NewerOlder